diff options
-rw-r--r-- | qt-ui/maintab.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp index 1fbb32fa8..86a8965f5 100644 --- a/qt-ui/maintab.cpp +++ b/qt-ui/maintab.cpp @@ -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; |