Fix another crash.

When we add group there is no reason to update a tool tooltip.
This commit is contained in:
Roman Telezhynskyi 2020-03-26 19:51:40 +02:00
parent 1edceea8bc
commit 6583b8ab01

View File

@ -92,8 +92,6 @@ void AddGroup::undo()
{ {
emit doc->SetCurrentPP(nameActivDraw);//Return current pattern piece after undo emit doc->SetCurrentPP(nameActivDraw);//Return current pattern piece after undo
} }
emit doc->UpdateToolTip();
} }
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------
@ -116,8 +114,6 @@ void AddGroup::redo()
return; return;
} }
emit doc->UpdateToolTip();
VMainGraphicsView::NewSceneRect(qApp->getCurrentScene(), qApp->getSceneView()); VMainGraphicsView::NewSceneRect(qApp->getCurrentScene(), qApp->getSceneView());
} }