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 3a218e7..b878011 100644
--- a/examples/graphicsview/elasticnodes/node.cpp
+++ b/examples/graphicsview/elasticnodes/node.cpp
@@ -53,7 +53,7 @@ Node::Node(GraphWidget *graphWidget)
{
setFlag(ItemIsMovable);
setCacheMode(DeviceCoordinateCache);
- setZValue(1);
+ setZValue(-1);
}
void Node::addEdge(Edge *edge)