mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-20 06:45:27 +00:00
maintab change for get_dive_site_uuid_by_name
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
d8146445fc
commit
be1b6c67c1
1 changed files with 1 additions and 1 deletions
|
@ -1147,7 +1147,7 @@ void MainTab::on_location_editingFinished()
|
|||
{
|
||||
// find the dive site or create it
|
||||
const char *name = ui.location->text().toUtf8().data();
|
||||
uint32_t uuid = get_dive_site_uuid_by_name(name);
|
||||
uint32_t uuid = get_dive_site_uuid_by_name(name, NULL);
|
||||
if (!uuid)
|
||||
uuid = create_dive_site(name);
|
||||
displayed_dive.dive_site_uuid = uuid;
|
||||
|
|
Loading…
Add table
Reference in a new issue