mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
locationinformation: don't update map location on typing
Currently when the user is typing new coordinates the marker on the map changes location right away. Disable that and add a 'flag' button that should be pressed instead. Also make the coordinates update when pressing Enter or when the text field loses focus. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
This commit is contained in:
parent
fe69b304b2
commit
a084ea5b26
3 changed files with 46 additions and 14 deletions
|
@ -15,6 +15,7 @@ public:
|
|||
|
||||
protected:
|
||||
void showEvent(QShowEvent *);
|
||||
void enableLocationButtons(bool enable);
|
||||
|
||||
public slots:
|
||||
void acceptChanges();
|
||||
|
@ -33,6 +34,7 @@ public slots:
|
|||
void mergeSelectedDiveSites();
|
||||
private slots:
|
||||
void updateLabels();
|
||||
void updateLocationOnMap();
|
||||
signals:
|
||||
void startEditDiveSite(uint32_t uuid);
|
||||
void endEditDiveSite();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue