summaryrefslogtreecommitdiffstats
path: root/qt-ui/mainwindow.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-09-22 22:24:28 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-09-22 22:24:28 -0700
commitdba16202c498d4432bc20181b0084f54b7abdba1 (patch)
tree1d7153e619313453e7f57142620ad3f1fa454284 /qt-ui/mainwindow.h
parent6ce5704435a761aeb7a8b7cb7bc9049ed3ee4ac9 (diff)
downloadsubsurface-dba16202c498d4432bc20181b0084f54b7abdba1.tar.gz
Correctly handle empty dive list after delete
Things need to be cleared out and disabled. But fixing this bug leaves another issue - while the newly selected dive after a delete acts as if it was selected, it doesn't show up as selected in the dive list. Reported-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/mainwindow.h')
-rw-r--r--qt-ui/mainwindow.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/mainwindow.h b/qt-ui/mainwindow.h
index b30f10a03..3d5b9ab4a 100644
--- a/qt-ui/mainwindow.h
+++ b/qt-ui/mainwindow.h
@@ -52,6 +52,7 @@ public:
void enableDcShortcuts();
void loadFiles(const QStringList files);
void importFiles(const QStringList importFiles);
+ void cleanUpEmpty();
private slots:
/* file menu action */