mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Fire signals for edit and filtering
Edit will always fire, Filtering only if the dive site already exists. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
6a09062065
commit
484fdee6fb
1 changed files with 3 additions and 1 deletions
|
@ -56,7 +56,9 @@ void LocationInformationWidget::setCurrentDiveSiteByUuid(uint32_t uuid)
|
|||
else
|
||||
ui.diveSiteCoordinates->clear();
|
||||
|
||||
emit startFilterDiveSite(displayed_dive_site.uuid);
|
||||
if (current_mode == EDIT_DIVE_SITE)
|
||||
emit startFilterDiveSite(displayed_dive_site.uuid);
|
||||
emit startEditDiveSite(uuid);
|
||||
}
|
||||
|
||||
void LocationInformationWidget::updateGpsCoordinates()
|
||||
|
|
Loading…
Add table
Reference in a new issue