(svn r17752) -Fix [FS#3231]: OSK could reset town name to an already used town name for the 'Generate Town' window
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user