settings dialog language change information bugfix
This commit is contained in:
1 parent
31ff141196
commit
d99b756006
1 file changed
+4
-2
@@ -96,8 +96,7 @@ void settingsDialogImpl::exec() {
|
||||
// page_4->hide();
|
||||
|
||||
playerNickIsChanged = FALSE;
|
||||
languageIsChanged = FALSE;
|
||||
|
||||
|
||||
//Player Nicks
|
||||
lineEdit_HumanPlayerName->setText(QString::fromUtf8(myConfig->readConfigString("MyName").c_str()));
|
||||
pushButton_HumanPlayerAvatar->setMyLink(QString::fromUtf8(myConfig->readConfigString("MyAvatar").c_str()));
|
||||
@@ -222,6 +221,9 @@ void settingsDialogImpl::exec() {
|
||||
|
||||
setFirstSmallBlindMargin();
|
||||
|
||||
//set this AFTER switch combobox like config-settings. This IS a currentIndexChanged() ;-)
|
||||
languageIsChanged = FALSE;
|
||||
|
||||
QDialog::exec();
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user