mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 20:50:34 +01:00
Add initial support of texts group
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5117 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -30,6 +30,9 @@ AddElementTextCommand::AddElementTextCommand(Element *element, DynamicElementTex
|
||||
|
||||
AddElementTextCommand::~AddElementTextCommand()
|
||||
{
|
||||
if(m_text->parentGroup())
|
||||
return;
|
||||
|
||||
if(!m_element->dynamicTextItems().contains(m_text))
|
||||
delete m_text;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user