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

Modify ButtonGroup drag to check for no change #4888

Merged
merged 1 commit into from
Sep 12, 2024

Conversation

bubblobill
Copy link
Collaborator

@bubblobill bubblobill commented Sep 2, 2024

resolves #4883

Description of the Change

When a macro button is dragged, logic now checks for change in button group first and exits if there is no change.

This prevents accidental small drags and drags that have no effect progressing to permission checks and further processing.

Permission error message only presents when there is a change in the button group value.

Possible Drawbacks

none

Documentation Notes

Stopped permission error message for dragging macro buttons where there is no change.

Release Notes

Stopped permission error message for dragging macro buttons where there is no change.


This change is Reviewable

…group.

Before checking for permissions, if there is no change in button group it returns false.
@bubblobill bubblobill self-assigned this Sep 2, 2024
@bubblobill bubblobill added the bug label Sep 4, 2024
@cwisniew cwisniew added this pull request to the merge queue Sep 12, 2024
Merged via the queue into RPTools:develop with commit c0df1db Sep 12, 2024
4 of 5 checks passed
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.

[Bug]: Trying to move macro button in Campaign Window causes error w/o permission
2 participants