From a89f715bf9879e20bb6da1050e38671cf6347425 Mon Sep 17 00:00:00 2001 From: Diego Garcia Gangl Date: Mon, 10 Jun 2024 18:59:03 -0300 Subject: [PATCH] Unset searches when unselecting ref #390 --- GTG/gtk/browser/sidebar.py | 1 + 1 file changed, 1 insertion(+) diff --git a/GTG/gtk/browser/sidebar.py b/GTG/gtk/browser/sidebar.py index 5fb0af44e..f38c85279 100644 --- a/GTG/gtk/browser/sidebar.py +++ b/GTG/gtk/browser/sidebar.py @@ -411,6 +411,7 @@ def unselect_searches(self) -> None: with signal_block(self.searches_selection, self.search_handle): search_id = self.searches_selection.get_selected() self.searches_selection.unselect_item(search_id) + self.app.browser.get_pane().set_search_query('') def unselect_general_box(self) -> None: