diff options
author | rubidium <rubidium@openttd.org> | 2009-10-10 12:47:04 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-10-10 12:47:04 +0000 |
commit | 4ab569544b34cda1feb23528bc07aa6e5ae4776e (patch) | |
tree | 6015755a069679cee0136e58ee5834475ec3dbb4 /src/town_gui.cpp | |
parent | 66721ffd3657c4daa09693b71e8205bd24c1200a (diff) | |
download | openttd-4ab569544b34cda1feb23528bc07aa6e5ae4776e.tar.xz |
(svn r17752) -Fix [FS#3231]: OSK could reset town name to an already used town name for the 'Generate Town' window
Diffstat (limited to 'src/town_gui.cpp')
-rw-r--r-- | src/town_gui.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/town_gui.cpp b/src/town_gui.cpp index 8c39e42e2..be0a0d4b4 100644 --- a/src/town_gui.cpp +++ b/src/town_gui.cpp @@ -978,6 +978,7 @@ public: GetTownName(this->edit_str_buf, &this->params, this->townnameparts, &this->edit_str_buf[this->edit_str_size - 1]); } UpdateTextBufferSize(&this->text); + UpdateOSKOriginalText(this, TSEW_TOWNNAME_EDITBOX); this->SetFocusedWidget(TSEW_TOWNNAME_EDITBOX); this->SetWidgetDirty(TSEW_TOWNNAME_EDITBOX); |