changed #preferredExtent - use explicitExtent instvar
authorStefan Vogel <sv@exept.de>
Sun, 26 Oct 2008 21:09:25 +0100
changeset 3568 2f293d1e2eef
parent 3567 447a502274d4
child 3569 0e01d084e624
changed #preferredExtent - use explicitExtent instvar
FilenameWidgetWithHistory.st
--- a/FilenameWidgetWithHistory.st	Sun Oct 26 21:09:06 2008 +0100
+++ b/FilenameWidgetWithHistory.st	Sun Oct 26 21:09:25 2008 +0100
@@ -157,6 +157,12 @@
 !FilenameWidgetWithHistory methodsFor:'queries'!
 
 preferredExtent
+    "/ If I have an explicit preferredExtent..
+    explicitExtent notNil ifTrue:[
+        ^ explicitExtent
+    ].
+
+    "/ If I have a cached preferredExtent value..
     preferredExtent notNil ifTrue:[
         ^ preferredExtent
     ].
@@ -193,5 +199,5 @@
 !FilenameWidgetWithHistory class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libwidg2/FilenameWidgetWithHistory.st,v 1.8 2008-10-07 11:49:46 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libwidg2/FilenameWidgetWithHistory.st,v 1.9 2008-10-26 20:09:25 stefan Exp $'
 ! !