(svn r22553) -Fix (r22499): NewGRF parameter window was not set dirty, when changing row selection.

This commit is contained in:
frosch
2011-06-11 21:12:28 +00:00
parent d5e7537e14
commit 3f003c0977
2 changed files with 2 additions and 3 deletions

View File

@@ -411,8 +411,6 @@ struct AISettingsWindow : public Window {
this->timeout = 5;
this->CheckDifficultyLevel();
this->SetDirty();
}
} else if (!bool_item) {
/* Display a query box so users can enter a custom value. */
@@ -420,6 +418,7 @@ struct AISettingsWindow : public Window {
SetDParam(0, this->ai_config->GetSetting(config_item.name));
ShowQueryString(STR_JUST_INT, STR_CONFIG_SETTING_QUERY_CAPTION, 10, this, CS_NUMERAL, QSF_NONE);
}
this->SetDirty();
break;
}