chore: Ignore case in rule-set suggestion

This commit is contained in:
unknown 2024-07-09 11:27:43 +03:30
parent d447a6dceb
commit 669cbbbe4c
No known key found for this signature in database
GPG Key ID: C2CA486E4F771093

View File

@ -343,7 +343,7 @@ void RouteItem::updateHelperItems(const QString& base) {
ui->rule_set_helper->clearSelection();
current_helper_items.clear();
for (const auto& item: geo_items) {
if (item.contains(base)) current_helper_items << item;
if (item.toLower().contains(base.toLower())) current_helper_items << item;
}
for (int i=0;i<current_helper_items.size();i++) {
for (int j=i+1;j<current_helper_items.size();j++) {