Skip to content

Commit

Permalink
[Part Design] ensure loft previews are being shown in dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
mwganson committed Jul 31, 2020
1 parent 7d7cc35 commit a569b75
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Mod/PartDesign/Gui/TaskLoftParameters.cpp
Expand Up @@ -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*>())
Expand Down

0 comments on commit a569b75

Please sign in to comment.