summaryrefslogtreecommitdiffstats
path: root/qt-ui/mainwindow.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2014-08-04 12:58:21 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-08-04 09:48:35 -0700
commite95fa6c6dc0940bc62073b3c7c8e145933069883 (patch)
tree32d4b30992d146f34033a69fec75fee50bb71649 /qt-ui/mainwindow.h
parentb32d22713cd99ea08a63d7ce7526db9225835c05 (diff)
downloadsubsurface-e95fa6c6dc0940bc62073b3c7c8e145933069883.tar.gz
Disable the Toolbox when in edit mode.
Some of the toolbox icons will trigger a recalculation of the dive, triggering then a replot, that will copy the dive to the displayed_dive again, but in the case of a edit this would discard the edition ( that would still be shown on the UI ) leaving the dive in an unconsistent state. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/mainwindow.h')
-rw-r--r--qt-ui/mainwindow.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/mainwindow.h b/qt-ui/mainwindow.h
index 6b53babbd..5c0ec8efa 100644
--- a/qt-ui/mainwindow.h
+++ b/qt-ui/mainwindow.h
@@ -156,6 +156,7 @@ slots:
void editCurrentDive();
void planCanceled();
void planCreated();
+ void setEnabledToolbar(bool arg1);
private:
Ui::MainWindow ui;