Skip to content
This repository was archived by the owner on Mar 14, 2020. It is now read-only.

[Another] Fix bug quickly delete and bug that can not paste cutted page#220

Closed
DonnaWuDongxia wants to merge 2 commits into
intel:masterfrom
DonnaWuDongxia:quick-delete-2
Closed

[Another] Fix bug quickly delete and bug that can not paste cutted page#220
DonnaWuDongxia wants to merge 2 commits into
intel:masterfrom
DonnaWuDongxia:quick-delete-2

Conversation

@DonnaWuDongxia

Copy link
Copy Markdown
Contributor

No description provided.

@DonnaWuDongxia

Copy link
Copy Markdown
Contributor Author

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.

@DonnaWuDongxia

Copy link
Copy Markdown
Contributor Author

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.

@zhizhangchen

Copy link
Copy Markdown
Contributor

Why do you do this in fireModelEvent instead of in removeChildFromZone?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants