SmallSense__AbstractListDialog.st
changeset 370 b02030d796d8
parent 368 a94d9afd766b
child 377 c686ea588575
--- a/SmallSense__AbstractListDialog.st	Fri Jan 09 18:17:39 2015 +0000
+++ b/SmallSense__AbstractListDialog.st	Sun Jan 11 06:38:54 2015 +0000
@@ -373,7 +373,10 @@
             ].
         ].
         completion notNil ifTrue:[
-            field contents: completion first.
+            self enqueueDelayedAction:[  
+                matchPatternHolder value: completion first withoutNotifying: self.   
+                "/ field contents: completion first.
+            ].
             completion second size == 1 ifTrue:[
                 matchingObjectsMultiselect ifTrue:[
                     self matchingObjectsSelection: completion second asArray
@@ -387,7 +390,7 @@
     ]
 
     "Created: / 28-04-2014 / 22:30:06 / Jan Vrany <jan.vrany@fit.cvut.cz>"
-    "Modified: / 20-06-2014 / 14:12:08 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+    "Modified: / 10-01-2015 / 11:07:13 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
 matchPatternHolder
@@ -590,12 +593,13 @@
         pattern := StringPattern fromString: self matchPatternHolder value.
         pos := self matchingObjectPOsForPattern: pattern.
         self updateMatchingObjectPOs: pos.
+        self updateMatchingLabelToNormal
     ] ifFalse:[
         self updateMatchingIgnorePattern
     ].
 
     "Created: / 12-12-2014 / 23:38:23 / Jan Vrany <jan.vrany@fit.cvut.cz>"
-    "Modified: / 13-12-2014 / 08:34:02 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+    "Modified: / 11-01-2015 / 06:36:56 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
 updateMatchingIgnorePattern