#BUGFIX by cg
class: FileApplicationNoteBook::ImageViewApplication class
comment/format in: #canOpenItem:
--- 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