Desktop: Add mergeing into the selected dive site.

When editing a dive site in the 'Dive sites' view, add a context menu
entry to allow mergeing of the displayed dive site into the dive site
seleted in the 'Near dive sites' list.
This merge has the opposite direction of the existing 'Merge into
current site' function, which can simplify the workflow when maintaining
a large number of dive sites, as the facilities to sort dive sites in
the 'Dive sites' view does not have a way to sort by location or
proximity.

Signed-off-by: Michael Keller <github@ike.ch>
This commit is contained in:
Michael Keller 2023-04-22 00:18:32 +12:00 committed by bstoeger
parent 84d9d0abe7
commit 2aa13ea9d7
4 changed files with 25 additions and 0 deletions

View file

@ -34,6 +34,7 @@ public slots:
void on_diveSiteDistance_textChanged(const QString &s);
void reverseGeocode();
void mergeSelectedDiveSites();
void mergeIntoSelectedDiveSite();
void on_GPSbutton_clicked();
private slots:
void updateLabels();