mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-22 19:54:06 +01:00
Codechange: use Textbuf::GetText() to access the buffer / hide Textbuf::buf
This commit is contained in:
@@ -1866,7 +1866,7 @@ public:
|
||||
void OnEditboxChanged(WidgetID wid) override
|
||||
{
|
||||
if (wid == WID_ID_FILTER) {
|
||||
this->string_filter.SetFilterTerm(this->industry_editbox.text.buf);
|
||||
this->string_filter.SetFilterTerm(this->industry_editbox.text.GetText());
|
||||
this->InvalidateData(IDIWD_FORCE_REBUILD);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user