Gui: PR6497 move return statement to new line

This commit is contained in:
Chris Hennes
2022-03-29 12:33:50 -05:00
parent f7edc74eee
commit 5df3dbae6f
57 changed files with 352 additions and 169 deletions

View File

@@ -114,7 +114,8 @@ void View::onSelectionChanged(const SelectionChanges& msg)
return;
}
auto doc = Gui::Application::Instance->getDocument(msg.pDocName);
if (!doc) return;
if (!doc)
return;
auto &model = modelMap[doc];
if(!model)
model = std::make_shared<Model>(this, *doc);