summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-11-18 20:03:16 +0100
committerFlorent Le Coz <louiz@louiz.org>2011-11-18 20:03:16 +0100
commit2d4d8e3f1c85caf2c79f2a7528af22aad735e664 (patch)
tree8dc0300a44eabb9d3973148c6cfbfaf536354131 /src
parentabcd05d74b0359d5772fe0b5d524c5f601deabe1 (diff)
downloadpoezio-2d4d8e3f1c85caf2c79f2a7528af22aad735e664.tar.gz
poezio-2d4d8e3f1c85caf2c79f2a7528af22aad735e664.tar.bz2
poezio-2d4d8e3f1c85caf2c79f2a7528af22aad735e664.tar.xz
poezio-2d4d8e3f1c85caf2c79f2a7528af22aad735e664.zip
Restaure the enter key on contacts in the roster.
Don’t know why I broke that…
Diffstat (limited to 'src')
-rw-r--r--src/tabs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tabs.py b/src/tabs.py
index 65dabe20..cb3ef520 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -1901,12 +1901,12 @@ class RosterInfoTab(Tab):
return self.name
def on_input(self, key, raw):
- if raw and key == '^M':
+ if key == '^M':
selected_row = self.roster_win.get_selected_row()
res = self.input.do_command(key, raw=raw)
if res:
return True
- if raw and key == '^M':
+ if key == '^M':
self.core.on_roster_enter_key(selected_row)
return selected_row
elif not raw and key in self.key_func: