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

Setting computed column definition should wait for all property changes #5613

Merged
merged 1 commit into from
Jul 11, 2024

Conversation

boutinb
Copy link
Contributor

@boutinb boutinb commented Jul 11, 2024

Add a scale Computed column using drag-and-drop scale variables.
Click on a nominal column.
Click the header of the computed column: the drag-and-drop window is erroneous
It is because it thinks that the computed column is still a nominal

The ComputeColumnWindow is initialized from a Json string. This string gets all information to build the drag-and-drop QML window. The signal that this Json string has changed should be emitted when all changes has been made: this is important especially when the chosen column is changed and all properties are suddenly changed. So we must wait for all properties to be changed, before emitting the json change: this is done by connecting the signal with QueuedConnection.

The ComputeColumnWindow is initialized from a Json string. This string gets all information to build the drag-and-drop QML window. The signal that this Json string has changed should be emitted when all changes has been made: this is important especially when the chosen column is changed and all properties are suddenly changed. So we must wait for all properties to be changed, before emitting the json change: this is done by connecting the signal with QueuedConnection.
@boutinb boutinb merged commit 4398507 into jasp-stats:development Jul 11, 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.

1 participant