[geany/geany] 3b2844: Clear symbol tree before filtering to ensure it's fully re-created
Jiří Techet
git-noreply at xxxxx
Sun Jan 23 16:42:17 UTC 2022
Branch: refs/heads/master
Author: Jiří Techet <techet at gmail.com>
Committer: Jiří Techet <techet at gmail.com>
Date: Sun, 23 Jan 2022 16:42:17 UTC
Commit: 3b2844b27c7fc5871dd188f283e03fedc809764e
https://github.com/geany/geany/commit/3b2844b27c7fc5871dd188f283e03fedc809764e
Log Message:
-----------
Clear symbol tree before filtering to ensure it's fully re-created
Modified Paths:
--------------
src/callbacks.c
Modified: src/callbacks.c
4 lines changed, 4 insertions(+), 0 deletions(-)
===================================================================
@@ -440,6 +440,10 @@ void on_toolbutton_search_clicked(GtkAction *action, gpointer user_data)
void on_entry_tagfilter_changed(GtkAction *action, gpointer user_data)
{
GeanyDocument *doc = document_get_current();
+ /* make sure the tree is fully re-created so it appears correctly
+ * after applying filter */
+ if (doc->priv->tag_store)
+ gtk_tree_store_clear(doc->priv->tag_store);
sidebar_update_tag_list(doc, TRUE);
}
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Commits
mailing list