summaryrefslogtreecommitdiff
path: root/poezio/tabs/adhoc_commands_list.py
diff options
context:
space:
mode:
Diffstat (limited to 'poezio/tabs/adhoc_commands_list.py')
-rw-r--r--poezio/tabs/adhoc_commands_list.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/tabs/adhoc_commands_list.py b/poezio/tabs/adhoc_commands_list.py
index a1b186be..fecfc9e2 100644
--- a/poezio/tabs/adhoc_commands_list.py
+++ b/poezio/tabs/adhoc_commands_list.py
@@ -58,7 +58,7 @@ class AdhocCommandsListTab(ListTab):
for item in get_items()]
self.listview.set_lines(items)
self.info_header.message = 'Ad-hoc commands of JID %s' % self.name
- if self.core.current_tab() is self:
+ if self.core.tabs.current_tab is self:
self.refresh()
else:
self.state = 'highlight'