Closed DonnaWuDongxia closed 12 years ago
Originally, the node was removed first and then set one of its siblings as selected, the "nodeRemove" event is fired first, "select event" later. But in #217, I made the select event go first, so some widget will lose the green box in layout view.
Why do you do this in fireModelEvent instead of in removeChildFromZone?
with #217, I found a bug of layout view. You can select a "radio button" in layout view, and then change tab to other views, such as go to preview, and then change back to layout view, you will find that the selected radio button lost the green box. "toggle switch" still has this problem. It means, layout iframe can't show "selected green box" for all widgets after its refresh action.