#REFACTORING by stefan
authorStefan Vogel <sv@exept.de>
Sat, 18 Mar 2017 16:43:31 +0100
changeset 3944 4d859e0633c6
parent 3943 0051277ccb4a
child 3945 6219257414cf
#REFACTORING by stefan class: UIBuilder changed: #buildWindowFromSpec:
UIBuilder.st
--- a/UIBuilder.st	Fri Mar 17 18:51:54 2017 +0100
+++ b/UIBuilder.st	Sat Mar 18 16:43:31 2017 +0100
@@ -278,12 +278,12 @@
     ] ifFalse:[
         window := spec buildViewFor:self in:nil.
     ].
-    windowTitle notNil ifTrue:[
-        window isTopView ifTrue:[
-            window label:windowTitle.
-        ].
+    (windowTitle notNil and:[window isTopView]) ifTrue:[
+        window label:windowTitle.
     ].
     ^ window
+
+    "Modified: / 17-03-2017 / 17:03:12 / stefan"
 !
 
 doFinalHookup