Skip to content

Conversation

@alxvth
Copy link
Contributor

@alxvth alxvth commented Sep 5, 2025

ScalarAction::sourceDataChanged is not emitted when loading a scatterplot from a project. Therefore

    connect(&_settingsAction.getPlotAction().getPointPlotAction().getSizeAction(), &ScalarAction::sourceDataChanged, this, &ScatterplotPlugin::updateHeadsUpDisplay);
    connect(&_settingsAction.getPlotAction().getPointPlotAction().getOpacityAction(), &ScalarAction::sourceDataChanged, this, &ScatterplotPlugin::updateHeadsUpDisplay);

from #193 don't trigger updateHeadsUpDisplay.

We have to manually invoke updateHeadsUpDisplay in fromVariantMap

@alxvth alxvth requested a review from ThomasKroes September 5, 2025 12:22
@alxvth alxvth merged commit ec35367 into master Sep 5, 2025
10 checks passed
@alxvth alxvth deleted the feature/UpdateHUDInFromVariantMap branch September 5, 2025 13:00
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.

3 participants