--- a/FileDialogWithPreview.st Fri Jun 07 14:22:45 2013 +0200
+++ b/FileDialogWithPreview.st Fri Jun 07 15:23:56 2013 +0200
@@ -272,6 +272,7 @@
)
)
+ keepSpaceForOSXResizeHandleH: true
)
)
@@ -306,7 +307,7 @@
|fn mime image|
super fileSelectionChanged.
- (fn := self filenameHolder value) exists ifTrue:[
+ ((fn := self filenameHolder value) notNil and:[ fn exists ]) ifTrue:[
(mime := fn mimeTypeFromName) notNil ifTrue:[
mime isImage ifTrue:[
image := Image fromFile:fn.
@@ -328,7 +329,11 @@
!FileDialogWithPreview class methodsFor:'documentation'!
+version
+ ^ '$Header: /cvs/stx/stx/libtool/FileDialogWithPreview.st,v 1.5 2013-06-07 13:23:56 cg Exp $'
+!
+
version_CVS
- ^ '$Header: /cvs/stx/stx/libtool/FileDialogWithPreview.st,v 1.4 2013-06-07 10:00:10 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libtool/FileDialogWithPreview.st,v 1.5 2013-06-07 13:23:56 cg Exp $'
! !