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>
This commit is contained in:
Tomaz Canabrava 2013-08-13 08:34:04 -03:00
parent 16addbf373
commit 3464bcf6ef
2 changed files with 20 additions and 10 deletions

View file

@ -72,6 +72,7 @@ private:
QPushButton *addCylinder;
QPushButton *addWeight;
enum { NONE, DIVE, TRIP } editMode;
void enableEdition();
};
#endif