summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gtk-gui.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk-gui.c b/gtk-gui.c
index a68047464..8f36a133b 100644
--- a/gtk-gui.c
+++ b/gtk-gui.c
@@ -2037,6 +2037,8 @@ void set_dc_nickname(struct dive *dive)
remember_dc(dc->model, dc->deviceid, NULL);
}
gtk_widget_destroy(dialog);
+ } else {
+ remember_dc(dc->model, dc->deviceid, NULL);
}
}
dc = dc->next;