summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorterkhen <terkhen@openttd.org>2010-07-19 20:57:13 +0000
committerterkhen <terkhen@openttd.org>2010-07-19 20:57:13 +0000
commit264bbc30761e4eea4027947fa358d7c0773624f8 (patch)
tree01b5927f0adec0f434d872553cce9ce9bf218c69
parent5685e061c0bf74e51a77e20530e7ff33ba41a302 (diff)
downloadopenttd-264bbc30761e4eea4027947fa358d7c0773624f8.tar.xz
(svn r20196) -Fix: Remove autofocus of the edit box in the world generation window.
-rw-r--r--src/genworld_gui.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/genworld_gui.cpp b/src/genworld_gui.cpp
index 692fe5c1f..5c67e7ab0 100644
--- a/src/genworld_gui.cpp
+++ b/src/genworld_gui.cpp
@@ -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;