Salome HOME
projects
/
modules
/
shaper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f39d4f0
)
Issue #2809: Add "Show only" menu item for multi-selection in a viewer
author
vsv
<vsv@opencascade.com>
Wed, 9 Jan 2019 15:23:21 +0000
(18:23 +0300)
committer
vsv
<vsv@opencascade.com>
Wed, 9 Jan 2019 15:23:45 +0000
(18:23 +0300)
src/XGUI/XGUI_ContextMenuMgr.cpp
patch
|
blob
|
history
diff --git
a/src/XGUI/XGUI_ContextMenuMgr.cpp
b/src/XGUI/XGUI_ContextMenuMgr.cpp
index 87c91f9753ec01b48737e0a66f23e9cdd044b48b..814a2a0e58290aab8601825ee72e76f9d153eed0 100644
(file)
--- a/
src/XGUI/XGUI_ContextMenuMgr.cpp
+++ b/
src/XGUI/XGUI_ContextMenuMgr.cpp
@@
-803,6
+803,7
@@
void XGUI_ContextMenuMgr::addViewerMenu(QMenu* theMenu) const
aActions = myViewerMenu[aName];
}
} else if (aSelected > 1) {
+ aActions.append(action("SHOW_ONLY_CMD"));
aActions.append(action("HIDE_CMD"));
}
// hide all is shown always even if selection in the viewer is empty