summaryrefslogtreecommitdiffstats
path: root/qt-ui/maintab.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-11-11 06:23:18 +0900
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-11-11 06:23:18 +0900
commit9ead871d6456f8f19f6f0fe2413513ef4449253d (patch)
tree9444df9adf22e8c4b6d43ba06ec63d0c5119dd03 /qt-ui/maintab.h
parentf41651439cb6ee653cf25b495463644902507f46 (diff)
downloadsubsurface-9ead871d6456f8f19f6f0fe2413513ef4449253d.tar.gz
Stop clicks on the globe from changing dive list selection while editing
This caused us to get royally confused when manually adding a dive and trying to set the location through the marble widget. Fixes # 229 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/maintab.h')
-rw-r--r--qt-ui/maintab.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/maintab.h b/qt-ui/maintab.h
index 68803c02d..341a282e8 100644
--- a/qt-ui/maintab.h
+++ b/qt-ui/maintab.h
@@ -58,6 +58,7 @@ public:
bool eventFilter(QObject* , QEvent*);
void initialUiSetup();
void equipmentPlusUpdate();
+ bool isEditing();
public slots:
void addCylinder_clicked();
void addWeight_clicked();