diff --git a/src/RideImportWizard.cpp b/src/RideImportWizard.cpp index aadd893e1..92e118c84 100644 --- a/src/RideImportWizard.cpp +++ b/src/RideImportWizard.cpp @@ -824,7 +824,7 @@ RideImportWizard::abortClicked() tableWidget->item(i,5)->setText(tr("File Overwritten")); } else { tableWidget->item(i,5)->setText(tr("File Saved")); - mainWindow->addRide(QFileInfo(fulltarget).fileName(), false); + mainWindow->addRide(QFileInfo(fulltarget).fileName(), true); } } @@ -869,7 +869,7 @@ RideImportWizard::abortClicked() QFile source(filenames[i]); if (source.copy(fulltarget)) { tableWidget->item(i,5)->setText(tr("File Saved")); - mainWindow->addRide(QFileInfo(fulltarget).fileName(), false); // add to tree view + mainWindow->addRide(QFileInfo(fulltarget).fileName(), true); // add to tree view // free immediately otherwise all imported rides are cached // and with large imports this can lead to memory exhaustion // BUT! Some charts/windows will hava snaffled away the ridefile