Status: New
Owner: ----
Labels: Milestone-2.0 Type-Bug
New issue 7411 by
[hidden email]: [Spec] Closing a window with
unaccepted content does not trigger any notification
http://code.google.com/p/pharo/issues/detail?id=7411When there is a text editor with unaccepted content and
askBeforeDiscardingEdits set to true I can close the window without any
notification. For example open a message browser edit, something and them
close the window:
MessageBrowser new
openWithSpec;
messages: (SystemNavigation new allSendersOf: #at:)
yourself.
I guess this happens because WindowModel does not register any contained
widget as dependents, so ComposableModel>>okToChange won't be called on the
widgets.
_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker