X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FXGUI%2FXGUI_OperationMgr.cpp;h=3e6c412235cbbcaef8a5b84a0576d08f1632c321;hb=220bd2b37119be1c65abf88a88792445cb9d99f8;hp=533bb6adce8006e68fdd757cf9bdba069e5c1430;hpb=3c9738b4e68feced06d2544043f01d7d2dcca8f1;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_OperationMgr.cpp b/src/XGUI/XGUI_OperationMgr.cpp index 533bb6adc..3e6c41223 100644 --- a/src/XGUI/XGUI_OperationMgr.cpp +++ b/src/XGUI/XGUI_OperationMgr.cpp @@ -667,7 +667,7 @@ bool XGUI_OperationMgr::onProcessDelete(QObject* theObject) XGUI_ObjectsBrowser* aBrowser = workshop()->objectBrowser(); QWidget* aViewPort = myWorkshop->viewer()->activeViewPort(); // property panel child object is processed to process delete performed on Apply button of PP - if (isChildObject(theObject, aBrowser) || + if (theObject == aBrowser->treeView() || isChildObject(theObject, aViewPort) || isPPChildObject) workshop()->deleteObjects();