summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorterkhen <terkhen@openttd.org>2010-07-19 20:52:14 +0000
committerterkhen <terkhen@openttd.org>2010-07-19 20:52:14 +0000
commit5685e061c0bf74e51a77e20530e7ff33ba41a302 (patch)
tree8c3fa75a13b5df2fde040aab2156e2db3ddd04c3 /src
parent5b1fc7304a87362ae6ccca563f0ec1dc1405f9cc (diff)
downloadopenttd-5685e061c0bf74e51a77e20530e7ff33ba41a302.tar.xz
(svn r20195) -Fix [FS#3891]: Remove autofocus of the edit box in the found town window (Zuu).
Diffstat (limited to 'src')
-rw-r--r--src/town_gui.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/town_gui.cpp b/src/town_gui.cpp
index 830d81ced..bcab4560f 100644
--- a/src/town_gui.cpp
+++ b/src/town_gui.cpp
@@ -1061,7 +1061,6 @@ public:
InitializeTextBuffer(&this->text, this->edit_str_buf, this->edit_str_size, MAX_LENGTH_TOWN_NAME_PIXELS);
this->RandomTownName();
this->UpdateButtons(true);
- this->SetFocusedWidget(TSEW_TOWNNAME_EDITBOX);
}
void RandomTownName()