From: vsv Date: Tue, 28 Nov 2017 11:27:31 +0000 (+0300) Subject: Length of lines errors correction X-Git-Tag: V_2.10.0RC~123^2~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=011b99e8c496df83aa94a1fac121ee67ed31de4c;p=modules%2Fshaper.git Length of lines errors correction --- 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;