summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.c b/main.c
index 3d9b43b41..2bdccd277 100644
--- a/main.c
+++ b/main.c
@@ -249,7 +249,8 @@ int main(int argc, char **argv)
set_filename(filename, FALSE);
}
report_dives(imported);
- show_dive_info(NULL);
+ if (dive_table.nr == 0)
+ show_dive_info(NULL);
run_ui();
exit_ui();
return 0;