[geany/geany-plugins] 9401dd: Merge pull request #1015 from ChrisJAllan/treebrowser-crash

Frank Lanitz git-noreply at xxxxx
Sat Jan 2 10:45:04 UTC 2021


Branch:      refs/heads/master
Author:      Frank Lanitz <frank at frank.uvena.de>
Committer:   GitHub <noreply at github.com>
Date:        Sat, 02 Jan 2021 10:45:04 UTC
Commit:      9401dd24f859402d45e6bbfb22a4f45dbd1f3502
             https://github.com/geany/geany-plugins/commit/9401dd24f859402d45e6bbfb22a4f45dbd1f3502

Log Message:
-----------
Merge pull request #1015 from ChrisJAllan/treebrowser-crash

TreeBrowser: Avoid double node clear


Modified Paths:
--------------
    treebrowser/src/treebrowser.c

Modified: treebrowser/src/treebrowser.c
3 lines changed, 1 insertions(+), 2 deletions(-)
===================================================================
@@ -1629,8 +1629,7 @@ on_treeview_changed(GtkWidget *widget, gpointer user_data)
 		if (g_file_test(uri, G_FILE_TEST_EXISTS)) {
 			if (!g_file_test(uri, G_FILE_TEST_IS_DIR) && CONFIG_ONE_CLICK_CHDOC)
 				document_open_file(uri, FALSE, NULL, NULL);
-		} else
-			treebrowser_tree_store_iter_clear_nodes(&iter, TRUE);
+		}
 
 		g_free(uri);
 	}



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Plugins-Commits mailing list