Skip to content
Snippets Groups Projects
Commit 9901ebbc authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

last_key_tabs must be set to False when we press another key than Tabulation

(now /msg ni[TAB] doesn't remove the space before ni)
parent c7e85be2
No related branches found
No related tags found
No related merge requests found
......@@ -207,6 +207,9 @@ class ChatControlBase(MessageControl):
return False
def _on_message_textview_key_press_event(self, widget, event):
if self.widget_name == 'muc_child_vbox':
if event.keyval not in (gtk.keysyms.ISO_Left_Tab, gtk.keysyms.Tab):
self.last_key_tabs = False
if event.state & gtk.gdk.SHIFT_MASK:
# SHIFT + PAGE_[UP|DOWN]: send to conv_textview
if event.keyval == gtk.keysyms.Page_Down or \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment