X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FXGUI%2FXGUI_FacesPanel.cpp;h=e623a7e9098b3b67b19b11989838f67f036fa694;hb=d5c7ad3c50f89a2ddc2de1866ffb7f09397f3be2;hp=414986d3a1d4a29b36611676ad2609934d738389;hpb=c9c441afb404553dd086fff8adfc9aa6340b13c3;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_FacesPanel.cpp b/src/XGUI/XGUI_FacesPanel.cpp index 414986d3a..e623a7e90 100644 --- a/src/XGUI/XGUI_FacesPanel.cpp +++ b/src/XGUI/XGUI_FacesPanel.cpp @@ -91,6 +91,8 @@ XGUI_FacesPanel::XGUI_FacesPanel(QWidget* theParent, XGUI_Workshop* theWorkshop) : QDockWidget(theParent), myIsActive(false), myWorkshop(theWorkshop) { setWindowTitle(tr("Hide Faces")); + setObjectName("Hide Faces"); + QAction* aViewAct = toggleViewAction(); setStyleSheet("::title { position: relative; padding-left: 5px; text-align: left center }"); @@ -660,7 +662,8 @@ void XGUI_FacesPanel::onObjectDisplay(ObjectPtr theObject, AISObjectPtr theAIS) aIdsToRem.insert(aIt.key()); } else { - std::map::iterator aPIt = aObjectToPrs.find(theObject); + std::map::iterator aPIt = + aObjectToPrs.find(theObject); if (aPIt != aObjectToPrs.end()) { ObjectPtr aObj = aPIt->first; if (aObj == theObject) {