QTfrontend/gameuiconfig.cpp
changeset 647 798c7dbf8bb8
parent 646 ed610c2cd0a4
child 654 1019b8fa8638
--- a/QTfrontend/gameuiconfig.cpp	Thu Dec 13 12:39:26 2007 +0000
+++ b/QTfrontend/gameuiconfig.cpp	Thu Dec 13 13:49:20 2007 +0000
@@ -38,7 +38,7 @@
 
 	Form->ui.pageOptions->CBEnableSound->setChecked(value("audio/sound", true).toBool());
 
-	Form->ui.pageNet->editNetNick->setText(value("net/nick", QLineEdit::tr("unnamed")).toString());
+	Form->ui.pageOptions->editNetNick->setText(value("net/nick", QLineEdit::tr("unnamed")).toString());
 //	Form->ui.pageNet->editIP->setText(value("net/ip", "").toString());
 
 	Form->ui.pageOptions->CBShowFPS->setChecked(value("fps/show", false).toBool());
@@ -70,7 +70,7 @@
 
 	setValue("audio/sound", isSoundEnabled());
 
-	setValue("net/nick", Form->ui.pageNet->editNetNick->text());
+	setValue("net/nick", Form->ui.pageOptions->editNetNick->text());
 //	setValue("net/ip", Form->ui.pageNet->editIP->text());
 
 	setValue("fps/show", isShowFPSEnabled());