TD: PR6497 move return statement to new line

This commit is contained in:
Chris Hennes
2022-03-29 13:26:01 -05:00
parent cb21ac7bf8
commit c44ccc0ff2
10 changed files with 34 additions and 17 deletions

View File

@@ -526,7 +526,8 @@ bool TaskProjGroup::accept()
{
// Base::Console().Message("TPG::accept()\n");
Gui::Document* doc = Gui::Application::Instance->getDocument(multiView->getDocument());
if (!doc) return false;
if (!doc)
return false;
multiView->recomputeChildren();
multiView->recomputeFeature();
@@ -539,7 +540,8 @@ bool TaskProjGroup::accept()
bool TaskProjGroup::reject()
{
Gui::Document* doc = Gui::Application::Instance->getDocument(multiView->getDocument());
if (!doc) return false;
if (!doc)
return false;
if (getCreateMode()) {
//remove the object completely from the document