shell-search: don't crash

This commit is contained in:
Georges Basile Stavracas Neto
2017-04-19 16:46:19 -03:00
parent 141f8d87b8
commit c5772f994e
+1 -1
View File
@@ -1232,7 +1232,7 @@ gcal_manager_setup_shell_search (GcalManager *self,
{
g_return_if_fail (GCAL_IS_MANAGER (self));
if (!self->shell_search_data_model)
if (self->shell_search_data_model)
return;
self->shell_search_data_model = e_cal_data_model_new (submit_thread_job);