From 2d4d8e3f1c85caf2c79f2a7528af22aad735e664 Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Fri, 18 Nov 2011 20:03:16 +0100 Subject: Restaure the enter key on contacts in the roster. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Don’t know why I broke that… --- src/tabs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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: -- cgit v1.2.3