Commit fb442823 authored by Rohit Yadav's avatar Rohit Yadav

TracksScene: Fix #67, delete all linked items

parent 3a7da2ee
......@@ -114,6 +114,12 @@ TracksScene::askRemoveSelectedItems()
AbstractGraphicsItem* item = dynamic_cast<AbstractGraphicsItem*>( items.at(i) );
if ( !item )
return;
/*FIXME: When undo-ing linked items no longer remain linked*/
AbstractGraphicsItem* linked_item = item->groupItem();
if (linked_item != NULL)
items.append(linked_item);
ClipHelper *ch = qobject_cast<ClipHelper*>( item->helper() );
if ( ch != NULL )
{
......
Markdown is supported
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