I was passing Menu::itsFilter by const reference to Menu::ApplyFilter(). however, the function was clearing all filtering related stuff, including itsFilter itself, so passed reference was pointing at previously cleared string. then the function checked if new filter was empty and it obviously was, so exited then. funny bug.master
parent
5b36fda511
commit
f24db993aa
2 changed files with 7 additions and 2 deletions
Loading…
Reference in new issue