SmallSense__AbstractListDialog.st
changeset 871 c30699d9e366
parent 869 a5976f58988b
child 984 819ea9a4a34a
--- a/SmallSense__AbstractListDialog.st	Tue Jun 16 06:52:03 2015 +0100
+++ b/SmallSense__AbstractListDialog.st	Thu Jul 30 18:44:43 2015 +0100
@@ -686,7 +686,7 @@
     matchPatternString isEmptyOrNil ifTrue:[ 
         ^ self.
     ].
-    matchingPOsArg size == 1 ifTrue:[
+    (matchingPOsArg size == 1 and:[ (self canCreateMatchingObjectFromString: self matchPatternHolder value) not ]) ifTrue:[
         matchingObjectsMultiselect ifTrue:[
             self matchingObjectsSelection: matchingPOsArg
         ] ifFalse:[
@@ -695,6 +695,7 @@
     ].
 
     "Created: / 12-12-2014 / 23:32:35 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+    "Modified: / 30-07-2015 / 18:41:41 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
 !AbstractListDialog methodsFor:'event processing'!