From: vsv Date: Wed, 18 Jan 2017 15:51:44 +0000 (+0300) Subject: Remove reference on Null action X-Git-Tag: V_2.7.0~320 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2f759b2fe7bfc0f8d596b28b2276a06201cb3b25;p=modules%2Fshaper.git Remove reference on Null action --- diff --git a/src/PartSet/PartSet_Module.cpp b/src/PartSet/PartSet_Module.cpp index 51bcec762..c08cce43c 100755 --- a/src/PartSet/PartSet_Module.cpp +++ b/src/PartSet/PartSet_Module.cpp @@ -1195,10 +1195,6 @@ void PartSet_Module::addObjectBrowserMenu(QMenu* theMenu) const } } } - - ResultBodyPtr aResult = std::dynamic_pointer_cast(aObject); - if( aResult.get() ) - theMenu->addAction(myMenuMgr->action("SELECT_PARENT_CMD")); } } bool aNotDeactivate = (aCurrentOp == 0);