src/addObjectDialog.cpp

changeset 540
0334789cb4d7
parent 539
72ad83a67165
child 542
46a33bdc0b36
--- a/src/addObjectDialog.cpp	Thu Dec 05 23:20:50 2013 +0200
+++ b/src/addObjectDialog.cpp	Thu Dec 05 23:42:39 2013 +0200
@@ -39,7 +39,7 @@
 // =============================================================================
 // -----------------------------------------------------------------------------
 class SubfileListItem : public QTreeWidgetItem
-{	PROPERTY (public,	Primitive*,	PrimitiveInfo, NO_OPS,	NO_CB)
+{	PROPERTY (public,	Primitive*,	PrimitiveInfo, NO_OPS,	STOCK_WRITE)
 
 	public:
 		SubfileListItem (QTreeWidgetItem* parent, Primitive* info) :
@@ -221,7 +221,7 @@
 
 		if (mo)
 		{	for (const Axis ax : g_Axes)
-				dsb_coords[ax]->setValue (mo->position() [ax]);
+				dsb_coords[ax]->setValue (mo->getPosition() [ax]);
 
 			defaultMatrix = mo->getTransform();
 		}

mercurial