mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-09 07:29:44 +00:00
(svn r20196) -Fix: Remove autofocus of the edit box in the world generation window.
This commit is contained in:
parent
5685e061c0
commit
264bbc3076
@ -357,7 +357,6 @@ struct GenerateLandscapeWindow : public QueryStringBaseWindow {
|
||||
/* snprintf() always outputs trailing '\0', so whole buffer can be used */
|
||||
snprintf(this->edit_str_buf, this->edit_str_size, "%u", _settings_newgame.game_creation.generation_seed);
|
||||
InitializeTextBuffer(&this->text, this->edit_str_buf, this->edit_str_size, 120);
|
||||
this->SetFocusedWidget(GLAND_RANDOM_EDITBOX);
|
||||
this->caption = STR_NULL;
|
||||
this->afilter = CS_NUMERAL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user