[Part Design] allow for preselecting loft sections and pipe spines prior to invoking command

This commit is contained in:
mwganson
2020-07-29 22:38:23 -05:00
committed by wmayer
parent ebecdfa8d0
commit 7d392d1209
3 changed files with 42 additions and 3 deletions

View File

@@ -108,6 +108,9 @@ TaskLoftParameters::TaskLoftParameters(ViewProviderLoft *LoftView,bool /*newObj*
item->setData(Qt::UserRole, QByteArray(obj->getNameInDocument()));
ui->listWidgetReferences->addItem(item);
}
if (loft->Sections.getValues().size()>0){
static_cast<ViewProviderLoft*>(vp)->makeTemporaryVisible(true);
}
// activate and de-activate dialog elements as appropriate
for (QWidget* child : proxy->findChildren<QWidget*>())