fix: keyboard not switching entry

This commit is contained in:
Alfredo Monclus committed 2024-09-20 19:16:21 -03:00
1 parent a262247a2a
commit 585f477e51
3 files changed
+5 -8

No files matched your search

-2
View File
@@ -123,8 +123,6 @@ class Panel(ScreenPanel):
)
def on_icon_pressed(self, entry, icon_pos, event):
entry.grab_focus()
self._screen.remove_keyboard()
if entry.get_input_purpose() == Gtk.InputPurpose.ALPHA:
if entry.get_input_hints() in (Gtk.InputHints.NONE, Gtk.InputHints.EMOJI):
entry.set_input_purpose(Gtk.InputPurpose.NUMBER)