| 1066 | } |
| 1067 | |
| 1068 | void OnEditboxChanged(WidgetID wid) override |
| 1069 | { |
| 1070 | if (wid != WID_SCRD_BREAK_STR_EDIT_BOX) return; |
| 1071 | |
| 1072 | /* Save the current string to static member so it can be restored next time the window is opened. */ |
| 1073 | this->filter.break_string = this->break_editbox.text.GetText(); |
| 1074 | this->break_string_filter.SetFilterTerm(this->filter.break_string); |
| 1075 | } |
| 1076 | |
| 1077 | /** |
| 1078 | * Some data on this window has become invalid. |
nothing calls this directly
no test coverage detected