From 3923f54e106247f5bf97dfe30f37a710c3f0f7f1 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Sat, 29 Sep 2018 21:44:53 +0200 Subject: 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 --- desktop-widgets/mainwindow.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'desktop-widgets/mainwindow.cpp') diff --git a/desktop-widgets/mainwindow.cpp b/desktop-widgets/mainwindow.cpp index 887b96230..e73ce2850 100644 --- a/desktop-widgets/mainwindow.cpp +++ b/desktop-widgets/mainwindow.cpp @@ -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()) { -- cgit v1.2.3-70-g09d2