fix: start filters insensitive if tree is empty

This commit is contained in:
aclist committed 2026-04-21 01:22:56 +09:00
1 parent d92a0010e2
commit 8e6cff4bf0
5 files changed
+44 -21

No files matched your search

-14
View File
@@ -52,20 +52,6 @@ class LogTreeView(ContextMixin, TreeView):
if event.button == Gdk.BUTTON_SECONDARY:
self.present_menu(widget, event)
return True
#selection = self.get_selection()
#model, selected_paths = selection.get_selected_rows()
#if len(selected_paths) > 1:
# for path in selected_paths:
# selection.select_path(path)
# path, col, x, y = self.get_path_at_pos(int(event.x), int(event.y))
# if path:
# selection = self.get_selection()
# model, selected_paths = selection.get_selected_rows()
# if path not in selected_paths:
# selection.select_path(path)
# self.present_menu(widget, event)
# return True
#return False
def _on_log_keypress(self, widget: Gtk.Widget, event: Gdk.EventKey) -> None:
self.present_menu(widget, event)