fix: keyboard not switching entry

This commit is contained in:
Alfredo Monclus
2024-09-20 18:06:04 -03:00
parent a262247a2a
commit 585f477e51
3 changed files with 5 additions and 8 deletions

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)