From 5b9309a6bde1e92b98b39a2d596beb2b848934df Mon Sep 17 00:00:00 2001 From: aclist <92275929+aclist@users.noreply.github.com> Date: Fri, 8 Aug 2025 18:01:05 +0900 Subject: [PATCH] fix: discard key input in entry field --- helpers/ui.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/helpers/ui.py b/helpers/ui.py index 7b2d903..eabd05f 100644 --- a/helpers/ui.py +++ b/helpers/ui.py @@ -1201,6 +1201,8 @@ class RightPanel(Gtk.Box): self.filters_vbox.set_unique_maps(rows) def toggle_debug(self) -> None: + if type(App.window.get_focus()) is Gtk.Entry: + return state = self.debug_toggle.get_active() self.debug_toggle.set_active(not state)