src/dialogs/subfilereferenceeditor.cpp

changeset 1313
4baed9f54de3
parent 1299
b692088dc1a6
child 1326
69a90bd2dba2
--- a/src/dialogs/subfilereferenceeditor.cpp	Fri Mar 23 19:30:53 2018 +0200
+++ b/src/dialogs/subfilereferenceeditor.cpp	Fri Mar 23 21:30:24 2018 +0200
@@ -14,9 +14,9 @@
 	this->ui.referenceName->setText(reference->referenceName());
 	this->color = reference->color();
 	::setColorButton(this->ui.colorButton, this->color);
-	this->ui.positionX->setValue(reference->position().x());
-	this->ui.positionY->setValue(reference->position().y());
-	this->ui.positionZ->setValue(reference->position().z());
+	this->ui.positionX->setValue(reference->position().x);
+	this->ui.positionY->setValue(reference->position().y);
+	this->ui.positionZ->setValue(reference->position().z);
 	connect(
 		this->ui.colorButton,
 		&QPushButton::clicked,

mercurial