mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-20 08:10:52 +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:
@@ -16,7 +16,6 @@
|
||||
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include "elementtextsmover.h"
|
||||
#include "elementtextitem.h"
|
||||
#include "diagram.h"
|
||||
#include "QPropertyUndoCommand/qpropertyundocommand.h"
|
||||
#include "dynamicelementtextitem.h"
|
||||
@@ -56,7 +55,7 @@ int ElementTextsMover::beginMovement(Diagram *diagram, QGraphicsItem *driver_ite
|
||||
|
||||
for(QGraphicsItem *item : diagram->selectedItems())
|
||||
{
|
||||
if(item->type() == ElementTextItem::Type || item->type() == DynamicElementTextItem::Type)
|
||||
if(item->type() == DynamicElementTextItem::Type)
|
||||
{
|
||||
m_items_hash.insert(item, item->pos());
|
||||
m_text_count++;
|
||||
|
||||
Reference in New Issue
Block a user