mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-31 04:25:40 +00:00
Fixed an issue where filter indices couldn't be reset.
This commit is contained in:
parent
f5bc2f7c63
commit
222c75a65b
|
@ -618,7 +618,7 @@ void FileFilterIndex::manageIndexEntry(std::map<std::string, int>* index,
|
|||
}
|
||||
}
|
||||
|
||||
void FileFilterIndex::clearIndex(std::map<std::string, int> indexMap)
|
||||
void FileFilterIndex::clearIndex(std::map<std::string, int>& indexMap)
|
||||
{
|
||||
indexMap.clear();
|
||||
}
|
||||
|
|
|
@ -81,7 +81,7 @@ private:
|
|||
|
||||
void manageIndexEntry(std::map<std::string, int>* index, std::string key, bool remove);
|
||||
|
||||
void clearIndex(std::map<std::string, int> indexMap);
|
||||
void clearIndex(std::map<std::string, int>& indexMap);
|
||||
|
||||
std::string mTextFilter;
|
||||
bool mFilterByText;
|
||||
|
|
Loading…
Reference in a new issue