MenuEditor.st
changeset 1992 f026ffeb44db
parent 1988 1f898443e253
child 1997 646225e1e5bf
--- a/MenuEditor.st	Wed Feb 15 18:25:02 2006 +0100
+++ b/MenuEditor.st	Wed Feb 15 21:12:43 2006 +0100
@@ -2147,6 +2147,17 @@
     ^ super closeRequest
 !
 
+commonPostBuild
+    self autoAcceptOnSelectionChange addDependent:self.
+    self autoAcceptOnSelectionChange value ifTrue:[
+        (builder componentAt:'okButton') label:(resources string:'Apply')
+    ].
+
+    self isStandAlone ifFalse:[
+        self halt.
+    ].
+!
+
 initialize
     "setup aspects, ...
     "
@@ -2185,15 +2196,6 @@
     aNoteBook tabLabelInset:16@4.
 !
 
-postBuildWith:aBuilder
-    super postBuildWith: aBuilder.
-
-    self autoAcceptOnSelectionChange addDependent:self.
-    self autoAcceptOnSelectionChange value ifTrue:[
-        (builder componentAt:'okButton') label:(resources string:'Apply')
-    ].
-!
-
 postOpenWith:aBuilder
     "reset keyboardProcessor for menuBar
     "