mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
16addbf373
commit
3464bcf6ef
2 changed files with 20 additions and 10 deletions
|
|
@ -72,6 +72,7 @@ private:
|
|||
QPushButton *addCylinder;
|
||||
QPushButton *addWeight;
|
||||
enum { NONE, DIVE, TRIP } editMode;
|
||||
void enableEdition();
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue