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:
parent
6e24762a6c
commit
3923f54e10
@ -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()) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user