summaryrefslogtreecommitdiffstats
path: root/qt-ui/maintab.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-08-13 08:34:04 -0300
committerGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-08-13 08:34:04 -0300
commit3464bcf6ef50a8b38c2fd91416c3d7ce932fdc7a (patch)
tree2544ce4379922985841f0fa9f55bfca16e1200d9 /qt-ui/maintab.h
parent16addbf373d138819411540a5be49513d58a4038 (diff)
downloadsubsurface-3464bcf6ef50a8b38c2fd91416c3d7ce932fdc7a.tar.gz
Makes the 'auto' edition behave in a better way.
This patch makes the auto editon behave in a better way, now you can scroll the notes widget without marking it as editable, and also adds a bit of code cleanup, and a better logic for editing the other widgets. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.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 af76fbb67..745f401a4 100644
--- a/qt-ui/maintab.h
+++ b/qt-ui/maintab.h
@@ -72,6 +72,7 @@ private:
QPushButton *addCylinder;
QPushButton *addWeight;
enum { NONE, DIVE, TRIP } editMode;
+ void enableEdition();
};
#endif