--- a/src/dialogs/subfilereferenceeditor.cpp Mon Jun 04 23:12:40 2018 +0300 +++ b/src/dialogs/subfilereferenceeditor.cpp Mon Jun 04 23:22:52 2018 +0300 @@ -25,8 +25,8 @@ SubfileReferenceEditor::SubfileReferenceEditor(LDSubfileReference* reference, QWidget* parent) : QDialog {parent}, - reference {reference}, - ui {*new Ui::SubfileReferenceEditor} + ui {*new Ui::SubfileReferenceEditor}, + reference {reference} { this->ui.setupUi(this); this->ui.referenceName->setText(reference->referenceName());