From 63db16a711fa1f4127b11197940d47032867ec94 Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Mon, 2 May 2022 02:31:15 -0400 Subject: open channel if its the first opened tab --- src/components/channeltabswitcherhandy.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/components/channeltabswitcherhandy.hpp') 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); -- cgit v1.2.3