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:
parent
0bb0530a31
commit
9a934f3a43
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue