mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Cleanup: simple consistency
Same pattern as the other functions in this group. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
ca496c63ae
commit
ae6ce93775
1 changed files with 2 additions and 3 deletions
|
@ -203,9 +203,8 @@ void LocationInformationWidget::initFields(dive_site *ds)
|
|||
|
||||
void LocationInformationWidget::on_diveSiteCoordinates_editingFinished()
|
||||
{
|
||||
if (!diveSite)
|
||||
return;
|
||||
Command::editDiveSiteLocation(diveSite, parseGpsText(ui.diveSiteCoordinates->text()));
|
||||
if (diveSite)
|
||||
Command::editDiveSiteLocation(diveSite, parseGpsText(ui.diveSiteCoordinates->text()));
|
||||
}
|
||||
|
||||
void LocationInformationWidget::on_diveSiteCountry_editingFinished()
|
||||
|
|
Loading…
Add table
Reference in a new issue