Commit 35cdec55 authored by nanahira's avatar nanahira Committed by GitHub

fix setcode in single search not working

parent 8e1826a8
...@@ -842,8 +842,8 @@ void DeckBuilder::FilterCards() { ...@@ -842,8 +842,8 @@ void DeckBuilder::FilterCards() {
element_start++; element_start++;
} }
if(element_start < str.size()) { if(element_start < str.size()) {
element.setcode = dataManager.GetSetCode(element.keyword.c_str());
element.keyword = str.substr(element_start); element.keyword = str.substr(element_start);
element.setcode = dataManager.GetSetCode(element.keyword.c_str());
query_elements.push_back(element); query_elements.push_back(element);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment