diff --git a/src/RideImportWizard.cpp b/src/RideImportWizard.cpp index 8bd82beb8..db171270a 100644 --- a/src/RideImportWizard.cpp +++ b/src/RideImportWizard.cpp @@ -825,7 +825,7 @@ RideImportWizard::abortClicked() tableWidget->item(i,5)->setText(tr("File Overwritten")); } else { tableWidget->item(i,5)->setText(tr("File Saved")); - context->athlete->addRide(QFileInfo(fulltarget).fileName(), true); + context->athlete->addRide(QFileInfo(fulltarget).fileName(), false); } } @@ -870,7 +870,7 @@ RideImportWizard::abortClicked() QFile source(filenames[i]); if (source.copy(fulltarget)) { tableWidget->item(i,5)->setText(tr("File Saved")); - context->athlete->addRide(QFileInfo(fulltarget).fileName(), true); // add to tree view + context->athlete->addRide(QFileInfo(fulltarget).fileName(), false); // 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