Commit 97290394 authored by Thorsten Zachmann's avatar Thorsten Zachmann

o no need to repaint the decorations in deactivate as it is allready

  done by the KoToolManager

svn path=/trunk/koffice/; revision=649711
parent 44990221
......@@ -613,16 +613,6 @@ void KoPathTool::activate (bool temporary) {
void KoPathTool::deactivate() {
m_pointSelection.clear();
foreach(KoShape *shape, m_canvas->shapeManager()->selection()->selectedShapes())
{
KoPathShape *pathShape = dynamic_cast<KoPathShape*> (shape);
if ( !shape->isLocked() && pathShape )
{
// it is only needed to repaint the current canvas
repaint( pathShape->boundingRect() );
}
}
delete m_activeHandle;
m_activeHandle = 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment