Actions
Bug #616
closedEnable and diable bug in local frame
Start date:
09/30/2002
Due date:
% Done:
0%
Estimated time:
Bugzilla-Id:
616
Description
If a GUIAction was assigned only response to local frame. Sometimes it could
response correctly.
This is because if a GUIAction is assigned locally, when a state change event
happened, morpho will compared the GUIAction's final parent frame and state
change event's final parent's final frame. If they are same, the gui action
will be enabled or diabled. But some time the state change event happened
before a frame was assign to its parent, the event's parent is null but
GUIAction is not. This cause the problem.
We can use a Queque or Vector to store the event, then broadcastiit late.
Actions