ViewWithAcceptAndCancelBar.st
branchjv
changeset 13609 8b400fde34ef
parent 12431 9f0c59c742d5
parent 13518 049393762925
child 15566 184cea584be5
--- a/ViewWithAcceptAndCancelBar.st	Tue Sep 17 11:25:54 2013 +0100
+++ b/ViewWithAcceptAndCancelBar.st	Thu Sep 19 10:20:29 2013 +0100
@@ -143,14 +143,14 @@
     |app|
 
     slaveView notNil ifTrue:[
-        (app := self application) notNil ifTrue:[
-            (changedObject == reallyModifiedHolder 
-            or:[ changedObject == slaveView modifiedChannel ]) ifTrue:[
-                app
-                    enqueueMessage:#updateBarVisibility
-                    for:self 
-                    arguments:#().
-            ].
+        (changedObject == reallyModifiedHolder 
+        or:[ changedObject == slaveView modifiedChannel ]) ifTrue:[
+            (app := self application) notNil ifTrue:[
+                "/ not sure if we really need to send it through the application
+                app enqueueMessage:#updateBarVisibility for:self arguments:#().
+            ] ifFalse:[
+                self sensor pushUserEvent:#updateBarVisibility for:self withArguments:#()
+            ]
         ].
     ].
     super update:something with:aParameter from:changedObject
@@ -287,11 +287,11 @@
 !ViewWithAcceptAndCancelBar class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libtool/ViewWithAcceptAndCancelBar.st,v 1.11 2012-09-26 12:44:28 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/ViewWithAcceptAndCancelBar.st,v 1.12 2013-09-06 15:09:05 cg Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libtool/ViewWithAcceptAndCancelBar.st,v 1.11 2012-09-26 12:44:28 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/ViewWithAcceptAndCancelBar.st,v 1.12 2013-09-06 15:09:05 cg Exp $'
 !
 
 version_HG