comparison grapher.cpp @ 149:38faf16df9b6

* minor menu fix
author Chris Cannam
date Wed, 01 Dec 2010 22:05:09 +0000
parents 644bd31e8301
children 70fe12873106
comparison
equal deleted inserted replaced
148:2fef6b0dfbe8 149:38faf16df9b6
399 399
400 // Add uncommitted item and connecting line as necessary 400 // Add uncommitted item and connecting line as necessary
401 401
402 if (m_uncommittedParentId != "") { 402 if (m_uncommittedParentId != "") {
403 m_uncommitted = new UncommittedItem(); 403 m_uncommitted = new UncommittedItem();
404 m_scene->addItem(m_uncommitted); 404 m_scene->addUncommittedItem(m_uncommitted);
405 ConnectionItem *conn = new ConnectionItem(); 405 ConnectionItem *conn = new ConnectionItem();
406 conn->setParent(m_items[m_uncommittedParentId]); 406 conn->setParent(m_items[m_uncommittedParentId]);
407 conn->setChild(m_uncommitted); 407 conn->setChild(m_uncommitted);
408 m_scene->addItem(conn); 408 m_scene->addItem(conn);
409 } 409 }