Commit 9a934f3a authored by Peng Liu's avatar Peng Liu
Browse files

Fixed a bug that caused Oracle to be stuck in an infinite loop if the default...

Fixed a bug that caused Oracle to be stuck in an infinite loop if the default path checkbox was checked but failed to write.
parent 0bb0530a
...@@ -433,6 +433,8 @@ bool SaveSetsPage::validatePage() ...@@ -433,6 +433,8 @@ bool SaveSetsPage::validatePage()
QMessageBox::information(this, tr("Success"), tr("The card database has been saved successfully.")); QMessageBox::information(this, tr("Success"), tr("The card database has been saved successfully."));
} else { } else {
QMessageBox::critical(this, tr("Error"), tr("The file could not be saved to the desired location.")); QMessageBox::critical(this, tr("Error"), tr("The file could not be saved to the desired location."));
if (defaultPathCheckBox->isChecked())
defaultPathCheckBox->setChecked(false);
} }
} while (!ok); } while (!ok);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment