diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-11-18 18:46:29 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-11-19 21:13:40 -0800 |
commit | 958032b21cb5c81b8f8bdbbccb77a3ccfbcc5d69 (patch) | |
tree | 0cf64494605272ea2c97790e2c524ec49c8d10f2 /desktop-widgets | |
parent | 635d67ee7feed0ddc7a5e36d6a7f5c2ed1ee9ba1 (diff) | |
download | subsurface-958032b21cb5c81b8f8bdbbccb77a3ccfbcc5d69.tar.gz |
Desktop: don't reload dive list model after clearing the model
By clearing the model, its contents are removed. There is no
point in reloading the model.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets')
-rw-r--r-- | desktop-widgets/mainwindow.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/desktop-widgets/mainwindow.cpp b/desktop-widgets/mainwindow.cpp index 793fecad9..b563736f0 100644 --- a/desktop-widgets/mainwindow.cpp +++ b/desktop-widgets/mainwindow.cpp @@ -691,7 +691,6 @@ void MainWindow::on_actionClose_triggered() closeCurrentFile(); DivePictureModel::instance()->updateDivePictures(); setApplicationState(ApplicationState::Default); - recreateDiveList(); } } |