diff --git a/src/Gui/propertyeditor/PropertyItem.cpp b/src/Gui/propertyeditor/PropertyItem.cpp index 1b270b467f..66deba4078 100644 --- a/src/Gui/propertyeditor/PropertyItem.cpp +++ b/src/Gui/propertyeditor/PropertyItem.cpp @@ -1565,7 +1565,7 @@ VectorListWidget::VectorListWidget(int decimals, QWidget *parent) void VectorListWidget::buttonClicked() { - VectorListEditor dlg(decimals, Gui::getMainWindow()); + VectorListEditor dlg(decimals, this); dlg.setValues(value().value>()); QPoint p(0, 0); p = this->mapToGlobal(p);