Cleanup: don't needlessly recalculate dive list on CSV import

On CSV import, the dive list was recalculated after the import
dialog was shown. This is pointless, as no dives are yet imported.
Remove.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2018-09-29 21:44:53 +02:00 committed by Dirk Hohndel
parent 6e24762a6c
commit 3923f54e10

View file

@ -1828,8 +1828,6 @@ void MainWindow::on_actionImportDiveLog_triggered()
if (csvFiles.size()) {
DiveLogImportDialog *diveLogImport = new DiveLogImportDialog(csvFiles, this);
diveLogImport->show();
process_imported_dives(false);
refreshDisplay();
}
if (txtFiles.size()) {