PD: whitespace improvements

This commit is contained in:
wmayer
2020-09-15 14:20:24 +02:00
parent 5635f87d0e
commit 42d643c8f7
2 changed files with 15 additions and 13 deletions

View File

@@ -108,8 +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);
if (!loft->Sections.getValues().empty()) {
LoftView->makeTemporaryVisible(true);
}
// activate and de-activate dialog elements as appropriate