mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-28 10:06:33 +00:00
Block only the propertychanged signal in the const_string_array property manager.
This commit is contained in:
parent
7c7523afe8
commit
0eec17b462
1 changed files with 9 additions and 1 deletions
|
@ -471,6 +471,14 @@ void PropertyEditorWidget::blockSignalsOfProperties(bool block)
|
||||||
m_boolManager->blockSignals(block);
|
m_boolManager->blockSignals(block);
|
||||||
m_enumManager->blockSignals(block);
|
m_enumManager->blockSignals(block);
|
||||||
m_stringArrayManager->blockSignals(block);
|
m_stringArrayManager->blockSignals(block);
|
||||||
m_constStrArrPropMgr->blockSignals(block);
|
|
||||||
|
if( block )
|
||||||
|
{
|
||||||
|
disconnect(m_constStrArrPropMgr, SIGNAL(propertyChanged(QtProperty *)), this, SLOT(propertyChanged(QtProperty *)));
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
connect(m_constStrArrPropMgr, SIGNAL(propertyChanged(QtProperty *)), this, SLOT(propertyChanged(QtProperty *)));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} /* namespace WorldEditor */
|
} /* namespace WorldEditor */
|
||||||
|
|
Loading…
Reference in a new issue