Gui: Fix too enthusiastic auto-collapse
This commit is contained in:
committed by
Chris Hennes
parent
8f3d9d9cdf
commit
90f9996fdb
@@ -239,9 +239,12 @@ void PropertyView::slotAppendDynamicProperty(const App::Property& prop)
|
||||
return;
|
||||
|
||||
App::PropertyContainer* parent = prop.getContainer();
|
||||
if (propertyEditorData->propOwners.contains(parent)
|
||||
|| propertyEditorView->propOwners.contains(parent))
|
||||
{
|
||||
if (propertyEditorData->propOwners.contains(parent)) {
|
||||
propertyEditorData->blockCollapseAll();
|
||||
timer->start(ViewParams::instance()->getPropertyViewTimer());
|
||||
}
|
||||
if ( propertyEditorView->propOwners.contains(parent)) {
|
||||
propertyEditorView->blockCollapseAll();
|
||||
timer->start(ViewParams::instance()->getPropertyViewTimer());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user