mirror of
https://github.com/samba-team/samba.git
synced 2025-03-08 04:58:40 +03:00
r21809: - If the canvas is never initialized with the tree, the tree will never
appear. Now that the finite state machine properly ignores events from widgets which are not handled, the initialization of the tree should be done when the module's canvas appears (i.e. just after the canvas has had the module's gui applied to it). (This used to be commit ab620c9554642f1289d6d0136fb104e475f22316)
This commit is contained in:
parent
3330a53acc
commit
0f08bc3ab5
@ -61,8 +61,8 @@ qx.Proto.buildFsm = function(module)
|
||||
{
|
||||
"appear" :
|
||||
{
|
||||
"tree" :
|
||||
"Transition_Idle_to_AwaitRpcResult_via_tree_appear"
|
||||
"swat.main.canvas" :
|
||||
"Transition_Idle_to_AwaitRpcResult_via_canvas_appear"
|
||||
}
|
||||
}
|
||||
});
|
||||
@ -71,7 +71,7 @@ qx.Proto.buildFsm = function(module)
|
||||
fsm.replaceState(state, true);
|
||||
|
||||
var trans = new qx.util.fsm.Transition(
|
||||
"Transition_Idle_to_AwaitRpcResult_via_tree_appear",
|
||||
"Transition_Idle_to_AwaitRpcResult_via_canvas_appear",
|
||||
{
|
||||
"nextState" : "State_AwaitRpcResult",
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user