summaryrefslogtreecommitdiff
path: root/src/components/chatwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/chatwindow.cpp')
-rw-r--r--src/components/chatwindow.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/components/chatwindow.cpp b/src/components/chatwindow.cpp
index 3cfde1b..5aab4e6 100644
--- a/src/components/chatwindow.cpp
+++ b/src/components/chatwindow.cpp
@@ -200,6 +200,10 @@ void ChatWindow::GoToPreviousTab() {
void ChatWindow::GoToNextTab() {
m_tab_switcher->GoToNextTab();
}
+
+void ChatWindow::GoToTab(int idx) {
+ m_tab_switcher->GoToTab(idx);
+}
#endif
Snowflake ChatWindow::GetActiveChannel() const {