Fix another crash.
When we add group there is no reason to update a tool tooltip.
This commit is contained in:
parent
1edceea8bc
commit
6583b8ab01
|
@ -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());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user