Fix Import Scanner Cancel not allowing import again

This commit is contained in:
Mark Watkins 2016-03-08 22:31:46 +10:00
parent bc06d48b20
commit 4e07049591

View File

@ -958,7 +958,10 @@ void MainWindow::on_action_Import_Data_triggered()
QList<ImportPath> datacards = detectCPAPCards(); QList<ImportPath> datacards = detectCPAPCards();
if (importScanCancelled) return; if (importScanCancelled) {
in_import = false;
return;
}
QList<MachineLoader *>loaders = GetLoaders(MT_CPAP); QList<MachineLoader *>loaders = GetLoaders(MT_CPAP);