diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2022-04-27 16:23:50 -0400 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2022-04-27 16:24:11 -0400 |
commit | e8f16292d1774ea137145485a63c373df6cb0743 (patch) | |
tree | a48ce933b225113627c74c54904fea76975d6cfc /src/components/chatwindow.cpp | |
parent | db28abaa44813e58503f42fa83dab3f4173505d2 (diff) | |
download | abaddon-portaudio-e8f16292d1774ea137145485a63c373df6cb0743.tar.gz abaddon-portaudio-e8f16292d1774ea137145485a63c373df6cb0743.zip |
add back/forward history to tabs
also lots of reformatting in .cmake because clion is weird and did that for some reason
Diffstat (limited to 'src/components/chatwindow.cpp')
-rw-r--r-- | src/components/chatwindow.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/components/chatwindow.cpp b/src/components/chatwindow.cpp index 2a6a67e..fcaf6c4 100644 --- a/src/components/chatwindow.cpp +++ b/src/components/chatwindow.cpp @@ -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 { |