changeset 15536:f514322e901d draft

(svn r20195) -Fix [FS#3891]: Remove autofocus of the edit box in the found town window (Zuu).
author terkhen <terkhen@openttd.org>
date Mon, 19 Jul 2010 20:52:14 +0000
parents a3466ee74c31
children f22dfb883f32
files src/town_gui.cpp
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/town_gui.cpp
+++ b/src/town_gui.cpp
@@ -1061,7 +1061,6 @@
 		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()