From 669cbbbe4cf8fdf1c133d760a8c7cc7914a3276f Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 9 Jul 2024 11:27:43 +0330 Subject: [PATCH] chore: Ignore case in rule-set suggestion --- ui/widget/RouteItem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/widget/RouteItem.cpp b/ui/widget/RouteItem.cpp index 2cc09ad..bbe565a 100644 --- a/ui/widget/RouteItem.cpp +++ b/ui/widget/RouteItem.cpp @@ -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