Daniel Brötzmann pushed to branch master at gajim / gajim


Commits:
3a32a87b by wurstsalat at 2022-06-25T09:34:20+02:00
fix: GroupChatNickCompletion: Only process Tab press

- - - - -


1 changed file:

- gajim/gtk/groupchat_nick_completion.py


Changes:

=====================================
gajim/gtk/groupchat_nick_completion.py
=====================================
@@ -142,7 +142,9 @@ def process_key_press(self,
                           textview: MessageInputTextView,
                           event: Gdk.EventKey
                           ) -> bool:
-        if event.keyval not in (Gdk.KEY_ISO_Left_Tab, Gdk.KEY_Tab):
+        if (event.get_state() & Gdk.ModifierType.SHIFT_MASK or
+                event.get_state() & Gdk.ModifierType.CONTROL_MASK or
+                event.keyval not in (Gdk.KEY_ISO_Left_Tab, Gdk.KEY_Tab)):
             self._last_key_tab = False
             return False
 



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/3a32a87bedc4645eae635842070e49b07b898e13

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/3a32a87bedc4645eae635842070e49b07b898e13
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to