[Improvement] Theme editor search improvements
This commit is contained in:
		
							parent
							
								
									a56302d04a
								
							
						
					
					
						commit
						6bab7c6edb
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -59,7 +59,7 @@ public: | ||||||
| 	} | 	} | ||||||
| 	bool searchWordsContain(const QString &needle) const { | 	bool searchWordsContain(const QString &needle) const { | ||||||
| 		for (const auto &word : _searchWords) { | 		for (const auto &word : _searchWords) { | ||||||
| 			if (word.startsWith(needle)) { | 			if (word.contains(needle, Qt::CaseInsensitive)) { | ||||||
| 				return true; | 				return true; | ||||||
| 			} | 			} | ||||||
| 		} | 		} | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue