#BUGFIX by cg
authorClaus Gittinger <cg@exept.de>
Fri, 19 Jan 2018 19:50:26 +0100
changeset 17951 ea5c9eaf94de
parent 17950 d63391605406
child 17952 b78dac4d2a4c
#BUGFIX by cg class: FileApplicationNoteBook::ImageViewApplication class comment/format in: #canOpenItem:
FileApplicationNoteBook.st
--- a/FileApplicationNoteBook.st	Fri Jan 19 19:49:35 2018 +0100
+++ b/FileApplicationNoteBook.st	Fri Jan 19 19:50:26 2018 +0100
@@ -4191,6 +4191,10 @@
 !FileApplicationNoteBook::ImageViewApplication class methodsFor:'queries'!
 
 canOpenItem:anItem
+    "check if I can open that document;
+     first check the mimetype (by suffix),
+     then also ask the corresponding imageReader if the file is actually valid"
+
     |mimeType imageReader|
 
     ^ (anItem hasMimeType