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>
This commit is contained in:
Stefan Fuchs 2017-11-30 20:33:43 +01:00 committed by Lubomir I. Ivanov
parent ba83ce34e0
commit 0fc4bd8976
2 changed files with 28 additions and 1 deletions

View file

@ -115,6 +115,9 @@ private:
Completers completers;
bool modified;
bool copyPaste;
bool lastSelectedDive;
int lastTabSelectedDive;
int lastTabSelectedDiveTrip;
void resetPallete();
void saveTags();
void saveTaggedStrings();