mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
Fixed #56: The quick search bar doesn't look in card.notes
Yay for single line changes :) git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1596 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -59,6 +59,7 @@ bool Card::contains(String const& query) const {
|
||||
FOR_EACH_CONST(v, data) {
|
||||
if (find_i(v->toString(),query) != String::npos) return true;
|
||||
}
|
||||
if (find_i(notes,query) != String::npos) return true;
|
||||
return false;
|
||||
}
|
||||
bool Card::contains_words(String const& query) const {
|
||||
|
||||
Reference in New Issue
Block a user