From 7321b9078c86d640c0df6120134d9c2a2274e4aa Mon Sep 17 00:00:00 2001 From: Mike Skec Date: Wed, 17 Mar 2021 15:21:00 +1100 Subject: sessions: restore window tab indices --- src/mainwindow.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/mainwindow.hpp') diff --git a/src/mainwindow.hpp b/src/mainwindow.hpp index 7cce992..e343033 100644 --- a/src/mainwindow.hpp +++ b/src/mainwindow.hpp @@ -49,6 +49,10 @@ public: //! Applies setting changes to the window. void applySettings(); + //! Gets/sets the current tab of this window + int currentTabIndex(); + void setCurrentTabIndex(int); + void mousePressEvent(QMouseEvent *event) override; void closeEvent(QCloseEvent *event) override; -- cgit v1.2.3