maintab change for get_dive_site_uuid_by_name

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2015-02-13 07:08:08 -08:00
parent d8146445fc
commit be1b6c67c1

View file

@ -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;