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

@@ -65,7 +65,8 @@ void TreeView::mouseDoubleClickEvent (QMouseEvent * event)
QTreeView::mouseDoubleClickEvent(event);
const Gui::Document* doc = static_cast<Gui::Document*>(item);
MDIView *view = doc->getActiveView();
if (!view) return;
if (!view)
return;
getMainWindow()->setActiveWindow(view);
}
else if (item->getTypeId().isDerivedFrom(ViewProvider::getClassTypeId())) {