forked from j62/ctbrec
1
0
Fork 0

Improve MFC search by also searching in the models cache

This commit is contained in:
0xboobface 2018-11-25 16:28:17 +01:00
parent 459734f48e
commit 9965f352e3
1 changed files with 9 additions and 0 deletions

View File

@ -616,6 +616,15 @@ public class MyFreeCamsClient {
synchronized (monitor) {
monitor.wait();
}
for (MyFreeCamsModel model : models.asMap().values()) {
if(StringUtil.isNotBlank(model.getName())) {
if(model.getName().contains(q)) {
result.add(model);
}
}
}
return result;
}
}