mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 13:10:19 +00:00
Current dive site has nothing to do with enableEdition
It will be set later. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
9c34f196fa
commit
3561d34745
1 changed files with 0 additions and 4 deletions
|
@ -156,10 +156,6 @@ void LocationInformationWidget::enableEdition()
|
|||
MainWindow::instance()->dive_list()->setEnabled(false);
|
||||
MainWindow::instance()->setEnabledToolbar(false);
|
||||
ui.diveSiteMessage->setText(tr("You are editing a dive site"));
|
||||
if (!currentDs) {
|
||||
displayed_dive.dive_site_uuid = create_dive_site(NULL);
|
||||
currentDs = get_dive_site_by_uuid(displayed_dive.dive_site_uuid);
|
||||
}
|
||||
}
|
||||
|
||||
extern bool parseGpsText(const QString &gps_text, double *latitude, double *longitude);
|
||||
|
|
Loading…
Reference in a new issue