summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/mainwindow.h
diff options
context:
space:
mode:
authorGravatar Jan Mulder <jlmulder@xs4all.nl>2018-09-17 09:08:06 +0200
committerGravatar bstoeger <32835590+bstoeger@users.noreply.github.com>2018-10-14 20:46:02 +0200
commit0f9edf06e2fb90e6fe99995c566f7fdc40281d29 (patch)
tree7ce8c60226a63a0c8c8cde55e044f617a417c85c /desktop-widgets/mainwindow.h
parentac9bab7e2fdc08a3ce691a2c7035e315ec3d8ff2 (diff)
downloadsubsurface-0f9edf06e2fb90e6fe99995c566f7fdc40281d29.tar.gz
Desktop: Enable next/prev DCs only for applicable dives
Does not solve any problem, but might help users that are confused about the next/prev DC menu items, to select a different profile for the currently selected dive. So, enable these menu items only for dives where more than one DC is used. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
Diffstat (limited to 'desktop-widgets/mainwindow.h')
-rw-r--r--desktop-widgets/mainwindow.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/desktop-widgets/mainwindow.h b/desktop-widgets/mainwindow.h
index 790c30a74..be35ecf1e 100644
--- a/desktop-widgets/mainwindow.h
+++ b/desktop-widgets/mainwindow.h
@@ -77,6 +77,7 @@ public:
bool inPlanner();
NotificationWidget *getNotificationWidget();
void enableDisableCloudActions();
+ void enableDisableOtherDCsActions();
void setCheckedActionFilterTags(bool checked);
void enterEditState();
void exitEditState();