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 frames props view not updating on frame change #162

Merged

Conversation

sgt0
Copy link
Contributor

@sgt0 sgt0 commented Jul 31, 2024

2818451 updated the plugin to use a single TableModel instance, but changes to the underlying data are not emitted as signals, so the view doesn't update when the data changes. This patch fixes the issue by emitting the layoutChanged signal to trigger a redisplay.

Didn't use dataChanged because it's possible that there are more or less rows (props) in the new table data, hence a layout change. Also didn't implement this in TableModel since the data mutation is happening directly in the plugin.

2818451 updated the plugin to use a single `TableModel` instance, but
changes to the underlying data are not emitted as signals, so the view
doesn't update when the data changes. This patch fixes the issue by
emitting the `layoutChanged` signal to trigger a redisplay.

Didn't use `dataChanged` because it's possible that there are more or
less rows (props) in the new table data, hence a layout change. Also
didn't implement this in `TableModel` since the data mutation is
happening directly in the plugin.
@Setsugennoao Setsugennoao merged commit 72ed916 into Jaded-Encoding-Thaumaturgy:master Jul 31, 2024
1 check passed
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