--- a/SimpleDialog.st Fri Feb 21 12:20:19 2020 +0100
+++ b/SimpleDialog.st Fri Feb 21 12:21:06 2020 +0100
@@ -387,6 +387,15 @@
self preOpen
!
+openDialogSpec:aSpec withBindings:bindings
+ "open myself - return true if accepted"
+
+ "/ Notice: redefined so that I open myself, instead of creating a new dialog
+ "/ (which the inherited method would do)
+
+ ^ self openFor:(masterApplication ? self) spec:aSpec withBindings:bindings
+!
+
openFor:anApplication interface:aSelector
"open the dialog for some appModel from a given spec;
Return true if accepted, false if canceled"