Skip to content
Snippets Groups Projects
Commit 98cfedd8 authored by Mikhail Svechnikov's avatar Mikhail Svechnikov
Browse files

make connections unique

parent c33e34da
No related branches found
No related tags found
1 merge request!2767Fix mask deletion
...@@ -99,8 +99,8 @@ void MaskGraphicsScene::associateItems(Data2DItem* data_item) ...@@ -99,8 +99,8 @@ void MaskGraphicsScene::associateItems(Data2DItem* data_item)
ASSERT(m_masks); ASSERT(m_masks);
ASSERT(m_prjns); ASSERT(m_prjns);
connect(m_masks, &MasksSet::setChanged, this, &MaskGraphicsScene::updateMost); connect(m_masks, &MasksSet::setChanged, this, &MaskGraphicsScene::updateMost, Qt::UniqueConnection);
connect(m_prjns, &MasksSet::setChanged, this, &MaskGraphicsScene::updateMost); connect(m_prjns, &MasksSet::setChanged, this, &MaskGraphicsScene::updateMost, Qt::UniqueConnection);
updateMost(); updateMost();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment