mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
Always fill the fields in LocationInformation edit widget.
If the current_dive was the same as the dive send to the LocationInformation widget, we would do nothing, wich is wrong because we could have filled the information on an add_dive_site action and then cancelled it, so the info will stay there until we change it. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
6b81fb49d0
commit
ed20b004a8
1 changed files with 0 additions and 3 deletions
|
@ -34,9 +34,6 @@ void LocationInformationWidget::setCurrentDiveSiteByUuid(uint32_t uuid)
|
|||
if(!currentDs)
|
||||
return;
|
||||
|
||||
if (displayed_dive_site.uuid == currentDs->uuid)
|
||||
return;
|
||||
|
||||
displayed_dive_site = *currentDs;
|
||||
|
||||
if (displayed_dive_site.name)
|
||||
|
|
Loading…
Reference in a new issue