Skip to content

Commit 5e07e32

Browse files
committed
Group all positionDataset connections
1 parent da5701d commit 5e07e32

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/ScatterplotPlugin.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,7 @@ void ScatterplotPlugin::init()
339339
updateHeadsUpDisplay();
340340
});
341341
connect(&_positionDataset, &Dataset<Points>::dataSelectionChanged, this, &ScatterplotPlugin::updateSelection);
342+
connect(&_positionDataset, &Dataset<>::guiNameChanged, this, &ScatterplotPlugin::updateHeadsUpDisplay);
342343

343344
_scatterPlotWidget->installEventFilter(this);
344345

@@ -395,8 +396,6 @@ void ScatterplotPlugin::init()
395396

396397
updateHeadsUpDisplay();
397398

398-
connect(&_positionDataset, &Dataset<>::guiNameChanged, this, &ScatterplotPlugin::updateHeadsUpDisplay);
399-
400399
const auto currentColorDatasetChanged = [this](Dataset<DatasetImpl> currentColorDataset) -> void {
401400
if (_colorDataset == currentColorDataset)
402401
return;

0 commit comments

Comments
 (0)