mirror of
https://github.com/aclist/dztui.git
synced 2026-10-30 14:42:54 +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)
|
self.filters_vbox.set_unique_maps(rows)
|
||||||
|
|
||||||
def toggle_debug(self) -> None:
|
def toggle_debug(self) -> None:
|
||||||
|
if type(App.window.get_focus()) is Gtk.Entry:
|
||||||
|
return
|
||||||
state = self.debug_toggle.get_active()
|
state = self.debug_toggle.get_active()
|
||||||
self.debug_toggle.set_active(not state)
|
self.debug_toggle.set_active(not state)
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user