FilenameEditFieldV2.st
changeset 18045 ad87b5ae1d07
parent 16862 ce13c7c3716a
--- a/FilenameEditFieldV2.st	Wed Apr 18 05:17:00 2018 +0200
+++ b/FilenameEditFieldV2.st	Wed Apr 18 12:17:10 2018 +0200
@@ -246,11 +246,11 @@
     "pull the menu - triggered from the button"
 
     |menu origin plug acceptOnLostFocus|
-    
+
     completitionList notNil ifTrue:[
         self list:completitionList
     ] ifFalse:[
-        self list:(listHolder value collect:[:el| el path]).
+        self list:(listHolder value ? #() collect:[:el| el path]).
     ].
     menu := self createPullDownMenuForList:list.
 
@@ -277,6 +277,8 @@
     field acceptOnLostFocus:acceptOnLostFocus.
     activeMenu := nil.
     pullDownButton turnOff.
+
+    "Modified (format): / 18-04-2018 / 12:16:55 / stefan"
 ! !
 
 !FilenameEditFieldV2 class methodsFor:'documentation'!