Detecting "window closed" for modal Spec window
March 27, 2018
7:26 p.m.
Hi, is it possible to detect when a modal window was closed in Spec? I can do the following window := TextModel new openWithSpec. window window announcer when: WindowClosed do: [ self inform: 'window closed' ]. But when I make the window modal it is no longer being announced window := TextModel new openWithSpec. window modalRelativeTo: self currentWorld. window window announcer when: WindowClosed do: [ self inform: 'window closed' ]. Is there some other way how I can achieve this? Thanks, Peter
3048
Age (days ago)
3048
Last active (days ago)
0 comments
1 participants
participants (1)
-
Peter Uhnák