branch | jv |
changeset 16053 | 85a1b78120ab |
parent 16004 | 325dd53597fd |
parent 16049 | 0b0a13d1455f |
child 16147 | fb39152235e3 |
--- a/FileApplicationNoteBook.st Wed Jan 20 23:57:35 2016 +0000 +++ b/FileApplicationNoteBook.st Thu Jan 21 06:47:58 2016 +0100 @@ -4358,7 +4358,11 @@ postOpenAsSubcanvasWith:aBuilder "invoked if the application is embedded in some other view" - self imageView windowGroup addPreEventHook:self. + |wg| + + (wg := self imageView windowGroup) notNil ifTrue:[ + wg addPreEventHook:self. + ]. super postOpenAsSubcanvasWith:aBuilder !