--- a/src/widgets/vertexobjecteditor.cpp Mon Jun 04 23:12:40 2018 +0300 +++ b/src/widgets/vertexobjecteditor.cpp Mon Jun 04 23:22:52 2018 +0300 @@ -25,9 +25,9 @@ VertexObjectEditor::VertexObjectEditor(LDObject* object, QWidget *parent) : QDialog {parent}, - object {object}, ui {*new Ui_VertexObjectEditor}, - vertexGrid {new QGridLayout} + vertexGrid {new QGridLayout}, + object {object} { this->ui.setupUi(this); this->ui.verticesContainer->setLayout(this->vertexGrid);