diff options
Diffstat (limited to 'calendar/gui')
-rw-r--r-- | calendar/gui/e-cal-model.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/calendar/gui/e-cal-model.c b/calendar/gui/e-cal-model.c index 64b8d6e328..c39db7dd66 100644 --- a/calendar/gui/e-cal-model.c +++ b/calendar/gui/e-cal-model.c @@ -1807,6 +1807,9 @@ e_cal_model_set_search_query (ECalModel *model, const char *sexp) priv = model->priv; + if (!strcmp (sexp ? sexp : "", priv->search_sexp ? priv->search_sexp : "")) + return; + if (priv->search_sexp) g_free (priv->search_sexp); |