summaryrefslogtreecommitdiff
path: root/src/tabs
diff options
context:
space:
mode:
Diffstat (limited to 'src/tabs')
-rw-r--r--src/tabs/basetabs.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tabs/basetabs.py b/src/tabs/basetabs.py
index d54d4578..7e122985 100644
--- a/src/tabs/basetabs.py
+++ b/src/tabs/basetabs.py
@@ -290,7 +290,8 @@ class Tab(object):
else:
arg = xhtml.clean_text_simple(arg)
if func:
- self.input.reset_completion()
+ if hasattr(self.input, "reset_completion"):
+ self.input.reset_completion()
func(arg)
return True
else: