# HG changeset patch # User Chris Cannam # Date 1306250802 -3600 # Node ID 6718bbc073b4c8a08e9ad19ea2fadd9f3455e576 # Parent ce6a70970808e003a55414c81a90cfd7fd335c36 Fix Z value of connecting item from uncommitted changes diff -r ce6a70970808 -r 6718bbc073b4 src/grapher.cpp --- a/src/grapher.cpp Tue May 24 16:26:15 2011 +0100 +++ b/src/grapher.cpp Tue May 24 16:26:42 2011 +0100 @@ -452,7 +452,7 @@ ChangesetItem *pitem = m_items[p]; conn->setParent(pitem); conn->setChild(m_uncommitted); - conn->setZValue(0); + conn->setZValue(-1); m_scene->addItem(conn); if (pitem) { if (pitem->getChangeset()->branch() == uncommittedBranch) {