--- a/UIPainter.st Wed Jan 09 20:26:44 2008 +0100
+++ b/UIPainter.st Wed Jan 09 20:28:03 2008 +0100
@@ -4432,7 +4432,8 @@
self warn:'Oops cannot start application - no class:' , specClassName.
^ nil
].
- ((application := cls new) respondsTo:#openInterface:) ifFalse:[
+ application := cls new.
+ (application respondsTo:#openInterface:) ifFalse:[
(self confirm:('The application does not respond to the ''openInterface:'' message.\(maybe the spec is supposed to be used as subApplication/subCanvas)\\Shall I try to open this as a standAlone dialog ?') withCRs)
ifTrue:[
SimpleDialog new openSpec:(cls perform:specSelector) withBindings:nil.