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

Enables add/update buttons on state type change #3875

Merged
merged 2 commits into from
Mar 28, 2023

Conversation

emmebi
Copy link
Collaborator

@emmebi emmebi commented Mar 17, 2023

Identify the Bug or Feature request

Fixes #1711

Description of the Change

The changeUpdated method which was responsible for enabling/disabling the Add and Update buttons based on the state of the dialog was not called when the a new value was selected in the Type combo box; as a result, the state of the buttons was changed only when an event like changing the name of the state was triggered.

Also, I renamed a couple of variables to make the logic of enabling/disabling a little clearer.

Possible Drawbacks

None that I can think of.

Documentation Notes

N/A

Release Notes

Enables/disables the add/update buttons when changing the State type in the State dialog.


This change is Reviewable

@cwisniew cwisniew merged commit 0596eca into RPTools:develop Mar 28, 2023
@cwisniew cwisniew added the bug label Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

States - unable to create new states
3 participants