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>
This commit is contained in:
parent
635d67ee7f
commit
958032b21c
@ -691,7 +691,6 @@ void MainWindow::on_actionClose_triggered()
|
||||
closeCurrentFile();
|
||||
DivePictureModel::instance()->updateDivePictures();
|
||||
setApplicationState(ApplicationState::Default);
|
||||
recreateDiveList();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user