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 DockWidget crach when area is a nullptr. #582

Conversation

tmartsum
Copy link

@tmartsum tmartsum commented Dec 1, 2023

When requesting hide on a dockwidget that has been added to a dockmanager, but isn't yet visible, there was a creash. The crash has been fixed by moving the code to the existing guard check for the area.

When requesting hide on a dockwidget that has been added
to a dockmanager, but isn't yet visible, there was a creash.
The crash has been fixed by moving the code to the existing
guard check for the area.
@githubuser0xFFFF
Copy link
Owner

Thank you

@githubuser0xFFFF githubuser0xFFFF merged commit 5d6831d into githubuser0xFFFF:master Dec 1, 2023
1 check passed
@tmartsum tmartsum deleted the bugfix/fix_dockwidget_area_null_crash branch December 7, 2023 06:38
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.

2 participants