add ctrl+number key shortcuts for tabs

This commit is contained in:
ouwou
2022-05-10 01:09:42 -04:00
parent bbf32730cd
commit 1d8ef79da6
7 changed files with 30 additions and 0 deletions

View File

@@ -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 {