--- a/VDBAbstractApplication.st Thu Feb 01 23:28:51 2018 +0000
+++ b/VDBAbstractApplication.st Sat Feb 03 21:18:50 2018 +0000
@@ -165,15 +165,31 @@
!VDBAbstractApplication methodsFor:'change & update'!
enqueueDelayedUpdate: selector
- self window sensor pushUserEvent: selector for:self
+ | w |
+
+ w := self window.
+ w notNil ifTrue:[
+ self window sensor pushUserEvent: selector for:self
+ ] ifFalse:[
+ self perform: selector
+ ].
"Created: / 17-01-2018 / 06:50:29 / jv"
+ "Modified: / 03-02-2018 / 08:10:03 / Jan Vrany <jan.vrany@fit.cvut.cz>"
!
enqueueDelayedUpdate: selector with: argument
- self window sensor pushUserEvent: selector for:self withArgument: argument
+ | w |
+
+ w := self window.
+ w notNil ifTrue:[
+ self window sensor pushUserEvent: selector for:self withArgument: argument
+ ] ifFalse:[
+ self perform: selector with: argument
+ ].
"Created: / 17-01-2018 / 06:50:39 / jv"
+ "Modified: / 03-02-2018 / 08:10:42 / Jan Vrany <jan.vrany@fit.cvut.cz>"
!
update:something with:aParameter from:changedObject