From e95fa6c6dc0940bc62073b3c7c8e145933069883 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Mon, 4 Aug 2014 12:58:21 -0300 Subject: 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 Signed-off-by: Dirk Hohndel --- qt-ui/mainwindow.h | 1 + 1 file changed, 1 insertion(+) (limited to 'qt-ui/mainwindow.h') 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; -- cgit v1.2.3-70-g09d2