diff --git a/Applications/DataExplorer/VtkVis/VtkVisTabWidget.cpp b/Applications/DataExplorer/VtkVis/VtkVisTabWidget.cpp index 6cdb96a410b84d62fc3d75089a0126220fb1e0d3..ba7dffc2d8f2d6eb60ab847524eca893317a6ac1 100644 --- a/Applications/DataExplorer/VtkVis/VtkVisTabWidget.cpp +++ b/Applications/DataExplorer/VtkVis/VtkVisTabWidget.cpp @@ -326,16 +326,15 @@ void VtkVisTabWidget::buildProportiesDialog(VtkVisPipelineItem* item) QString key = i.key(); QList<QVariant> values = i.value(); - VtkAlgorithmPropertyVectorEdit* vectorEdit; if (!values.empty()) { QList<QString> valuesAsString; foreach (QVariant variant, values) valuesAsString.push_back(variant.toString()); - vectorEdit = new VtkAlgorithmPropertyVectorEdit(valuesAsString, key, - values.front().type(), - algProps); + VtkAlgorithmPropertyVectorEdit* vectorEdit = + new VtkAlgorithmPropertyVectorEdit( + valuesAsString, key, values.front().type(), algProps); connect(vectorEdit, SIGNAL(editingFinished()), this, SIGNAL(requestViewUpdate())); layout->addRow(key, vectorEdit);