mirror of
https://github.com/Mahdi-zarei/nekoray.git
synced 2026-01-03 01:19:04 +08:00
chore: Ignore case in rule-set suggestion
This commit is contained in:
parent
d447a6dceb
commit
669cbbbe4c
@ -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++) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user