Codechange: use Textbuf::GetText() to access the buffer / hide Textbuf::buf
This commit is contained in:
@@ -1893,7 +1893,7 @@ struct BuildVehicleWindow : Window {
|
||||
void OnEditboxChanged(WidgetID wid) override
|
||||
{
|
||||
if (wid == WID_BV_FILTER) {
|
||||
this->string_filter.SetFilterTerm(this->vehicle_editbox.text.buf);
|
||||
this->string_filter.SetFilterTerm(this->vehicle_editbox.text.GetText());
|
||||
this->InvalidateData();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user