summaryrefslogtreecommitdiff
path: root/src/tabs/muclisttab.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2014-04-27 02:17:00 +0200
committermathieui <mathieui@mathieui.net>2014-04-27 02:17:00 +0200
commit60224bb76a08d5332e1d0bca810cf9682d45aa89 (patch)
tree8521d75ce67cd1df2423016243417b7f2625f9e8 /src/tabs/muclisttab.py
parent3cb2c8351acba0bd81641f2c281fd7e70f74a365 (diff)
downloadpoezio-60224bb76a08d5332e1d0bca810cf9682d45aa89.tar.gz
poezio-60224bb76a08d5332e1d0bca810cf9682d45aa89.tar.bz2
poezio-60224bb76a08d5332e1d0bca810cf9682d45aa89.tar.xz
poezio-60224bb76a08d5332e1d0bca810cf9682d45aa89.zip
Fix weird behavior while using the input in the muclisttab
Diffstat (limited to 'src/tabs/muclisttab.py')
-rw-r--r--src/tabs/muclisttab.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tabs/muclisttab.py b/src/tabs/muclisttab.py
index b82f4a23..6506d4cf 100644
--- a/src/tabs/muclisttab.py
+++ b/src/tabs/muclisttab.py
@@ -178,8 +178,10 @@ class MucListTab(Tab):
def on_input(self, key, raw):
res = self.input.do_command(key, raw=raw)
- if res:
+ if res and not isinstance(self.input, windows.Input):
return True
+ elif res:
+ return False
if not raw and key in self.key_func:
return self.key_func[key]()