mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-18 16:03:05 +00:00
Do not change list content if filter was not changed
svn-id: r41276
This commit is contained in:
parent
bbac0f1eea
commit
472e5906ca
@ -548,6 +548,10 @@ void ListWidget::setFilter(const String &filter, bool redraw) {
|
||||
filt = filter;
|
||||
|
||||
filt.toLowercase();
|
||||
|
||||
if (_filter == filt) // Filter was not changed
|
||||
return;
|
||||
|
||||
_filter = filt;
|
||||
|
||||
if (_filter == "") {
|
||||
|
Loading…
x
Reference in New Issue
Block a user