mirror of
https://github.com/aclist/dztui.git
synced 2026-08-26 09:47:36 +02:00
fix: discard key input in entry field
This commit is contained in:
parent
9c6847ba39
commit
5b9309a6bd
@ -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)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user