src/dialogs/subfilereferenceeditor.cpp

changeset 1392
0541d9b21968
parent 1391
5fa4bf1fc781
child 1403
7a2d84112983
--- 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());

mercurial