From e0ecb8193210564af52a7a0de5135e8f30e8db10 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Sat, 7 Apr 2018 13:11:15 +0300 Subject: [PATCH] Fixed issue #834. Union Tool - Pieces can't be moved after undo union details. --HG-- branch : develop --- src/libs/vtools/undocommands/deletepiece.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libs/vtools/undocommands/deletepiece.cpp b/src/libs/vtools/undocommands/deletepiece.cpp index 09e12bba3..94a35d3d2 100644 --- a/src/libs/vtools/undocommands/deletepiece.cpp +++ b/src/libs/vtools/undocommands/deletepiece.cpp @@ -121,6 +121,7 @@ void DeletePiece::redo() m_tool = qobject_cast(VAbstractPattern::getTool(nodeId)); SCASSERT(not m_tool.isNull()); m_tool->DisconnectOutsideSignals(); + m_tool->EnableToolMove(true); m_tool->hide(); m_scene->removeItem(m_tool);