add back/forward history to tabs

also lots of reformatting in .cmake because clion is weird and did that for some reason
This commit is contained in:
ouwou
2022-04-27 16:23:50 -04:00
parent db28abaa44
commit e8f16292d1
11 changed files with 191 additions and 33 deletions

View File

@@ -180,6 +180,14 @@ TabsState ChatWindow::GetTabsState() {
void ChatWindow::UseTabsState(const TabsState &state) {
m_tab_switcher->UseTabsState(state);
}
void ChatWindow::GoBack() {
m_tab_switcher->GoBackOnCurrent();
}
void ChatWindow::GoForward() {
m_tab_switcher->GoForwardOnCurrent();
}
#endif
Snowflake ChatWindow::GetActiveChannel() const {