Fixed a bug that caused Oracle to be stuck in an infinite loop if the default path checkbox was checked but failed to write.

This commit is contained in:
Peng Liu 2014-08-15 01:09:21 -04:00
parent 0bb0530a31
commit 9a934f3a43

View file

@ -433,6 +433,8 @@ bool SaveSetsPage::validatePage()
QMessageBox::information(this, tr("Success"), tr("The card database has been saved successfully."));
} else {
QMessageBox::critical(this, tr("Error"), tr("The file could not be saved to the desired location."));
if (defaultPathCheckBox->isChecked())
defaultPathCheckBox->setChecked(false);
}
} while (!ok);