diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-11-14 17:52:03 +0900 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-11-14 17:58:14 +0900 |
commit | dfd17c7a7fd1f5dd85f61a6feef96c616e02cfcb (patch) | |
tree | 1a319e3029bd13436ae266f7f1658a8ccd9bb92f /qt-ui/mainwindow.h | |
parent | 179615f3a9a7a657f9039e124865b2f449ddb703 (diff) | |
download | subsurface-dfd17c7a7fd1f5dd85f61a6feef96c616e02cfcb.tar.gz |
Maintain the selection when aborting "dive add"
We remember what was selected before and restore it. Maybe there's a more
"Qt way" of doing this, but my implementation appears to work :-)
Also remove unconditional debug output that snuck into an earlier commit.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/mainwindow.h')
-rw-r--r-- | qt-ui/mainwindow.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/mainwindow.h b/qt-ui/mainwindow.h index 9a8deb1a0..a7dafb48b 100644 --- a/qt-ui/mainwindow.h +++ b/qt-ui/mainwindow.h @@ -108,7 +108,7 @@ protected: public slots: void readSettings(); - void refreshDisplay(); + void refreshDisplay(bool recreateDiveList = true); void showProfile(); void editCurrentDive(); |