Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix crash when Frame Props dialog is cleared during output switching. #64

Merged
merged 1 commit into from Dec 31, 2022
Merged

Fix crash when Frame Props dialog is cleared during output switching. #64

merged 1 commit into from Dec 31, 2022

Conversation

JustinTArthur
Copy link
Contributor

@JustinTArthur JustinTArthur commented Dec 29, 2022

Crash was due to sub-layouts being included in the layout's items being iterated and sub-layouts don't contain a singular widget. Sub-layouts are now removed, cleared, and deleted. Widgets removed from the layout are deleted as before.

widget.deleteLater() will remove the parent relationship automatically so widget.setParent(None) is unnecessary.

Fixes #63

Sub-layouts now removed, cleared, deleted. Widgets are deleted with deleteLater.
@Setsugennoao Setsugennoao merged commit 859a558 into Jaded-Encoding-Thaumaturgy:master Dec 31, 2022
@JustinTArthur JustinTArthur deleted the fix-frameprops-clearing branch December 31, 2022 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Crash when switching between output nodes with Frame Props dialog.
2 participants