summaryrefslogtreecommitdiffstats
path: root/examples/graphicsview/elasticnodes/node.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/graphicsview/elasticnodes/node.cpp')
-rw-r--r--examples/graphicsview/elasticnodes/node.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/graphicsview/elasticnodes/node.cpp b/examples/graphicsview/elasticnodes/node.cpp
index f8a0f9e..5694756 100644
--- a/examples/graphicsview/elasticnodes/node.cpp
+++ b/examples/graphicsview/elasticnodes/node.cpp
@@ -54,7 +54,7 @@ Node::Node(GraphWidget *graphWidget)
setFlag(ItemIsMovable);
setFlag(ItemSendsGeometryChanges);
setCacheMode(DeviceCoordinateCache);
- setZValue(1);
+ setZValue(-1);
}
void Node::addEdge(Edge *edge)