mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-19 14:50:53 +01:00
Remove the class element text item.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5276 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -190,7 +190,7 @@ bool DiagramEventAddElement::buildElement()
|
||||
//Everything is good
|
||||
return true;
|
||||
}
|
||||
#include "elementtextitem.h"
|
||||
|
||||
/**
|
||||
* @brief DiagramEventAddElement::addElement
|
||||
* Add an element at the current pos en current rotation,
|
||||
@@ -243,6 +243,5 @@ void DiagramEventAddElement::addElement()
|
||||
|
||||
m_diagram -> undoStack().push(undo_object);
|
||||
element->setUpFormula();
|
||||
element->updateLabel();
|
||||
element->freezeNewAddedElement();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user