Break feedback cycle between Node and NodeItem.
NodeItem::setPosition updates x and y coordinates, by this emits xChanged and yChanged signals that lead to updating the coordinates at the Node element and again invoke NodeItem::setPosition. This patch adds a local variable m_updating that prevents any change of the NodeItem element performed from outside of this object.
parent
1436de69
Please register or sign in to comment