mirror of
https://github.com/aclist/dztui.git
synced 2026-10-26 12:42:34 +01:00
fix: discard key input in entry field
This commit is contained in:
1 parent
9c6847ba39
commit
5b9309a6bd
1 file changed
+2
@@ -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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user