mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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
1 changed files with 0 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue