From 9a934f3a433ff54fd637f3912195259e7b04e996 Mon Sep 17 00:00:00 2001 From: Peng Liu Date: Fri, 15 Aug 2014 01:09:21 -0400 Subject: [PATCH] Fixed a bug that caused Oracle to be stuck in an infinite loop if the default path checkbox was checked but failed to write. --- oracle/src/oraclewizard.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/oracle/src/oraclewizard.cpp b/oracle/src/oraclewizard.cpp index 307cc4f9..c1c8b982 100644 --- a/oracle/src/oraclewizard.cpp +++ b/oracle/src/oraclewizard.cpp @@ -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);