#REFACTORING by stefan draft
authorStefan Vogel <sv@exept.de>
Mon, 27 Mar 2017 13:21:36 +0200
changeset 3431 ecac7d4db6d0
parent 3430 9b5190f88556
child 3432 448be738b44b
#REFACTORING by stefan class: MenuEditor::ImageResourceEditor changed: #updateImageList replace use of obsolete method: #matches:ignoreCase:
MenuEditor.st
--- a/MenuEditor.st	Mon Mar 20 16:23:49 2017 +0100
+++ b/MenuEditor.st	Mon Mar 27 13:21:36 2017 +0200
@@ -4557,16 +4557,17 @@
 
     filter := [:sel | true].
     (selectorFilterString := selectorFilterHolder value) notEmptyOrNil ifTrue:[
-	selectorFilterString includesMatchCharacters ifTrue:[
-	    filter := [:sel | selectorFilterString match:sel ignoreCase:true].
-	] ifFalse:[
-	    filter := [:sel | sel includesString:selectorFilterString].
-	].
+        selectorFilterString includesMatchCharacters ifTrue:[
+            filter := [:sel | selectorFilterString match:sel caseSensitive:false].
+        ] ifFalse:[
+            filter := [:sel | sel includesString:selectorFilterString caseSensitive:false].
+        ].
     ].
 
     imageList root updateFromClass:retriever selectorFilter:filter.
 
     "Created: / 03-08-2011 / 10:56:41 / cg"
+    "Modified: / 27-03-2017 / 12:54:00 / stefan"
 !
 
 updateSelectedImage