When removing the root node, don't retain the pointer to it...

--HG--
branch : dfighter-tools
hg/feature/streamed-package
dfighter1985 11 years ago
parent 0c354f436d
commit 4d760c7515

@ -176,6 +176,9 @@ void ExpressionEditor::onDeleteSelection()
}
}
if( item == m_pvt->m_root )
m_pvt->m_root = NULL;
m_scene->removeItem( item );
delete item;
}

Loading…
Cancel
Save