mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Undo: on save remove focus from active fields
The editing of a dive field is only performed when focus is removed from the field. On pressing CTRL-s, the changes in the currently active field were therefore not saved. Remove the focus from all fields to trigger an edit command yand thus ensure that all changes are saved. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
9b5eab4ca1
commit
8c6205fc0d
3 changed files with 13 additions and 2 deletions
|
@ -53,6 +53,7 @@ public:
|
|||
void updateCoordinatesText(qreal lat, qreal lon);
|
||||
void refreshDisplayedDiveSite();
|
||||
void nextInputField(QKeyEvent *event);
|
||||
void stealFocus();
|
||||
|
||||
signals:
|
||||
void diveSiteChanged();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue