(svn r24740) -Codechange: Remove duplicate members from QueryStringBaseWindow and directly use QueryString.

This commit is contained in:
frosch
2012-11-14 22:50:26 +00:00
parent 6653ac6b36
commit 6e6d94a2d1
11 changed files with 20 additions and 24 deletions

View File

@@ -2408,7 +2408,7 @@ struct GameSettingsWindow : QueryStringBaseWindow {
virtual void OnEditboxChanged(int wid)
{
if (wid == WID_GS_FILTER) {
string_filter.SetFilterTerm(this->edit_str_buf);
string_filter.SetFilterTerm(this->text.buf);
if (!string_filter.IsEmpty() && !this->manually_changed_folding) {
/* User never expanded/collapsed single pages and entered a filter term.
* Expand everything, to save weird expand clicks, */