diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2022-05-02 02:31:15 -0400 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2022-05-02 02:31:15 -0400 |
commit | 63db16a711fa1f4127b11197940d47032867ec94 (patch) | |
tree | 2586a4434a5f356ef890504ac523b54ebfabe948 /src/components/channeltabswitcherhandy.hpp | |
parent | c30ab91738a22570afb89b9b9e758f9b708b33c2 (diff) | |
download | abaddon-portaudio-63db16a711fa1f4127b11197940d47032867ec94.tar.gz abaddon-portaudio-63db16a711fa1f4127b11197940d47032867ec94.zip |
open channel if its the first opened tab
Diffstat (limited to 'src/components/channeltabswitcherhandy.hpp')
-rw-r--r-- | src/components/channeltabswitcherhandy.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/components/channeltabswitcherhandy.hpp b/src/components/channeltabswitcherhandy.hpp index 37a71ee..561d463 100644 --- a/src/components/channeltabswitcherhandy.hpp +++ b/src/components/channeltabswitcherhandy.hpp @@ -25,6 +25,8 @@ public: void GoBackOnCurrent(); void GoForwardOnCurrent(); + [[nodiscard]] int GetNumberOfTabs() const; + private: void CheckUnread(Snowflake id); void ClearPage(HdyTabPage *page); |