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 property dialog box incorrectly showing context menus for non combo widget types #228

Merged
merged 4 commits into from
Jun 14, 2021
Merged

Fix property dialog box incorrectly showing context menus for non combo widget types #228

merged 4 commits into from
Jun 14, 2021

Conversation

RobTheFiveNine
Copy link
Contributor

In the code that creates and configures the widgets for the property dialog when double clicking a node, the block that sets up enum and combo properties was not surrounded in curly brackets, resulting in it always being executed no matter what the property type is.

The end result of it running the code for the combo widgets is that if you try to edit a number, string or any other type of property, it'll pop up an empty context menu which appears as a black box. After applying this change, it will no longer do this, and will allow users to edit properties without any visual errors.

This pull request has also included the changes from #201, as I accidentally branched from the same place, however, the changes in that PR are important too for users who use the minified build

@jagenjo jagenjo merged commit 9bf26db into jagenjo:master Jun 14, 2021
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