Undo: update map when dive site location is changed by undo command

Simply hook into the appropriate signal. Thus, the "update dive site
location" button can be removed.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2019-03-14 22:48:03 +01:00 committed by Dirk Hohndel
parent fa4fedbb48
commit 0b851d723e
5 changed files with 6 additions and 36 deletions

View file

@ -37,7 +37,7 @@ public slots:
void selectedDivesChanged(QList<int>);
void coordinatesChangedLocal(const location_t &);
void doneLoading(QQuickWidget::Status status);
void updateDiveSiteCoordinates(struct dive_site *ds, const location_t &);
void diveSiteChanged(struct dive_site *ds, int field);
private:
static MapWidget *m_instance;