diff --git a/src/libs/vtools/undocommands/addpiece.cpp b/src/libs/vtools/undocommands/addpiece.cpp index 89553abe8..e77255aaf 100644 --- a/src/libs/vtools/undocommands/addpiece.cpp +++ b/src/libs/vtools/undocommands/addpiece.cpp @@ -128,11 +128,6 @@ void AddPiece::redo() VMainGraphicsView::NewSceneRect(m_scene, qApp->getSceneView(), m_tool); m_tool.clear(); } - else - { - VMainGraphicsView::NewSceneRect(m_scene, qApp->getSceneView(), - qobject_cast(VAbstractPattern::getTool(nodeId))); - } } else {