mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
UI restructure: only switch to edit mode if user made change
With this patch a simple click into the main tab does not start editing mode. Only once a value is modified do we show the message box and disable the other widgets. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
66870add77
commit
a86aca0378
2 changed files with 25 additions and 39 deletions
|
@ -35,7 +35,8 @@ public:
|
|||
DIVE,
|
||||
TRIP,
|
||||
ADD,
|
||||
MANUALLY_ADDED_DIVE
|
||||
MANUALLY_ADDED_DIVE,
|
||||
IGNORE
|
||||
};
|
||||
|
||||
MainTab(QWidget *parent);
|
||||
|
@ -44,7 +45,6 @@ public:
|
|||
void clearInfo();
|
||||
void clearEquipment();
|
||||
void reload();
|
||||
bool eventFilter(QObject *, QEvent *);
|
||||
void initialUiSetup();
|
||||
bool isEditing();
|
||||
void updateCoordinatesText(qreal lat, qreal lon);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue