diff options
Diffstat (limited to 'poezio/core/core.py')
-rw-r--r-- | poezio/core/core.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/poezio/core/core.py b/poezio/core/core.py index ee1025e8..3dd7dfe2 100644 --- a/poezio/core/core.py +++ b/poezio/core/core.py @@ -1055,6 +1055,11 @@ class Core: return True return False + def focus_tab(self, tab: tabs.Tab) -> bool: + """Focus a tab""" + return self.tabs.set_current_tab(tab) + + ### Opening actions ### def open_conversation_window(self, jid: JID, |