@eht16 commented on this pull request.


In src/callbacks.c:

>  		sidebar_select_openfiles_item(doc);
 		ui_save_buttons_toggle(doc->changed);
 		ui_set_window_title(doc);
 		ui_update_statusbar(doc, -1);
 		ui_update_popup_reundo_items(doc);
 		ui_document_show_hide(doc); /* update the document menu */
 		build_menu_update(doc);
-		sidebar_update_tag_list(doc, FALSE);
+		if (g_strcmp0(entry_text, doc->priv->tag_filter) != 0)
+			gtk_entry_set_text(filter_entry, doc->priv->tag_filter);

Could the following maybe be enough:

		if (g_strcmp0(entry_text, doc->priv->tag_filter) != 0)
		{
			gtk_entry_set_text(filter_entry, doc->priv->tag_filter);
		}
		else
		{
			sidebar_update_tag_list(doc, TRUE);
		}

?


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.Message ID: <geany/geany/pull/3055/review/842427793@github.com>