Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improve translations to French
[modules/shaper.git]
/
src
/
XGUI
/
XGUI_FacesPanel.cpp
diff --git
a/src/XGUI/XGUI_FacesPanel.cpp
b/src/XGUI/XGUI_FacesPanel.cpp
index 414986d3a1d4a29b36611676ad2609934d738389..e623a7e9098b3b67b19b11989838f67f036fa694 100644
(file)
--- 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"));
: 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 }");
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 {
aIdsToRem.insert(aIt.key());
}
else {
- std::map<ObjectPtr, Handle(ModuleBase_ResultPrs)>::iterator aPIt = aObjectToPrs.find(theObject);
+ std::map<ObjectPtr, Handle(ModuleBase_ResultPrs)>::iterator aPIt =
+ aObjectToPrs.find(theObject);
if (aPIt != aObjectToPrs.end()) {
ObjectPtr aObj = aPIt->first;
if (aObj == theObject) {
if (aPIt != aObjectToPrs.end()) {
ObjectPtr aObj = aPIt->first;
if (aObj == theObject) {