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

Property sheet trait improvement #13691

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

geezer09
Copy link

@geezer09 geezer09 commented Nov 14, 2024

This pull request is intended to address the same issue as PR #11974

It introduces changes to the PropertySheet class to include a new "state" property for each row in the property table. The most important changes include adding a new member variable to store the previous state, updating the table data structure to include the state, and modifying the method to retrieve the current state.

Changes made to the state of properties in the property sheet window are reflected when accessing them via the gamepiece and vice versa.

After a bit of testing, it seems like these changes are quite tolerant to faulty user input.

Fixes #11861

… can be changed directly in that window. Changed the behaviour so the state was saved when exiting that window instead of being reset
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.

Viewing Property Sheet properties in the editor usually erases any values you've put in
1 participant