settings dialog language change information bugfix
This commit is contained in:
@@ -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