mirror of https://github.com/OpenTTD/OpenTTD
(svn r20195) -Fix [FS#3891]: Remove autofocus of the edit box in the found town window (Zuu).
parent
5b1fc7304a
commit
5685e061c0
|
@ -1061,7 +1061,6 @@ public:
|
||||||
InitializeTextBuffer(&this->text, this->edit_str_buf, this->edit_str_size, MAX_LENGTH_TOWN_NAME_PIXELS);
|
InitializeTextBuffer(&this->text, this->edit_str_buf, this->edit_str_size, MAX_LENGTH_TOWN_NAME_PIXELS);
|
||||||
this->RandomTownName();
|
this->RandomTownName();
|
||||||
this->UpdateButtons(true);
|
this->UpdateButtons(true);
|
||||||
this->SetFocusedWidget(TSEW_TOWNNAME_EDITBOX);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void RandomTownName()
|
void RandomTownName()
|
||||||
|
|
Loading…
Reference in New Issue