QTfrontend/gameuiconfig.cpp
changeset 8301 8bf36d368291
parent 8300 1978de6842c7
child 8325 ecd51650d5d8
--- a/QTfrontend/gameuiconfig.cpp	Sat Dec 15 22:42:21 2012 +0100
+++ b/QTfrontend/gameuiconfig.cpp	Sat Dec 15 23:00:07 2012 +0100
@@ -483,8 +483,8 @@
 {
     setValue("net/passwordhash", QString());
     setValue("net/passwordlength", 0);
-    setValue("net/savepassword", false);
-    reloadValues();
+    setValue("net/savepassword", false); //changes the savepassword value to false in order to not let the user save an empty password in PAGE_SETUP
+    reloadValues(); //reloads the values of PAGE_SETUP
 }
 
 void GameUIConfig::setPasswordHash(const QString & passwordhash)