diff options
author | Stefan Fuchs <sfuchs@gmx.de> | 2017-11-30 20:33:43 +0100 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2017-12-01 03:45:59 +0100 |
commit | 0fc4bd8976e5459b84307b595049f081ed8c2c78 (patch) | |
tree | e7267c15d47e13609a4b4beb3c3a11b47d6d19ab /desktop-widgets/tab-widgets/maintab.h | |
parent | ba83ce34e04ba233883bba711a6f39df57fd3e7e (diff) | |
download | subsurface-0fc4bd8976e5459b84307b595049f081ed8c2c78.tar.gz |
Disable specific tabs when dive trip selected
Disable tabs for equipment, info, pictures and extra info if a
dive trip is selected.
Remember specific tab selection for dives and dive trip to recover
selection when browsing dive list.
Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
Diffstat (limited to 'desktop-widgets/tab-widgets/maintab.h')
-rw-r--r-- | desktop-widgets/tab-widgets/maintab.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/desktop-widgets/tab-widgets/maintab.h b/desktop-widgets/tab-widgets/maintab.h index 74872ea08..ec060081f 100644 --- a/desktop-widgets/tab-widgets/maintab.h +++ b/desktop-widgets/tab-widgets/maintab.h @@ -115,6 +115,9 @@ private: Completers completers; bool modified; bool copyPaste; + bool lastSelectedDive; + int lastTabSelectedDive; + int lastTabSelectedDiveTrip; void resetPallete(); void saveTags(); void saveTaggedStrings(); |