Skip to content
Commit 9c8da30b authored by Andreas Cord-Landwehr's avatar Andreas Cord-Landwehr
Browse files

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
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment