Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue was when using designer, entering a password in "Property" window on right-side of screen would not save the encrypted password to the .ui file as expected, and password feature would not work.
This is because editing the "password" property would in-turn update the "protectedPassword" property,
but designer would not consider the "protectedPassword" property as having been edited, and would then not save it out to the .ui file.
Fix is to update the "protectedPassword" widget property directly with "setProperty" when the "password" is set, to make sure designer knows to save the "protectedPassword" value.
Widget-update code grabbed from the "update_property_for_widget" function in "pydm/widgets/designer_settings.py":