mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
b32d22713c
commit
e95fa6c6dc
3 changed files with 14 additions and 0 deletions
|
@ -156,6 +156,7 @@ slots:
|
|||
void editCurrentDive();
|
||||
void planCanceled();
|
||||
void planCreated();
|
||||
void setEnabledToolbar(bool arg1);
|
||||
|
||||
private:
|
||||
Ui::MainWindow ui;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue