From 011b99e8c496df83aa94a1fac121ee67ed31de4c Mon Sep 17 00:00:00 2001 From: vsv Date: Tue, 28 Nov 2017 14:27:31 +0300 Subject: [PATCH] Length of lines errors correction --- src/XGUI/XGUI_ContextMenuMgr.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/XGUI/XGUI_ContextMenuMgr.cpp b/src/XGUI/XGUI_ContextMenuMgr.cpp index b25bb04eb..0026ad7e1 100644 --- a/src/XGUI/XGUI_ContextMenuMgr.cpp +++ b/src/XGUI/XGUI_ContextMenuMgr.cpp @@ -401,9 +401,12 @@ void XGUI_ContextMenuMgr::updateObjectBrowserMenu() aNextObj = aModel->object(aNextIdx); } - bool isPrevFolder = (aPrevObj.get() && (aPrevObj->groupName() == ModelAPI_Folder::group())); - bool isNextFolder = (aNextObj.get() && (aNextObj->groupName() == ModelAPI_Folder::group())); - bool isInFolder = (aDataObj.get() && (aDataObj->groupName() == ModelAPI_Folder::group())); + bool isPrevFolder = (aPrevObj.get() && + (aPrevObj->groupName() == ModelAPI_Folder::group())); + bool isNextFolder = (aNextObj.get() && + (aNextObj->groupName() == ModelAPI_Folder::group())); + bool isInFolder = (aDataObj.get() && + (aDataObj->groupName() == ModelAPI_Folder::group())); bool isOutsideFolder = !isInFolder; bool hasFirst = false; -- 2.39.2