Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
5aed93b
)
PAL10133 - Two "display" in popup
author
asl
<asl@opencascade.com>
Tue, 4 Oct 2005 05:36:09 +0000
(
05:36
+0000)
committer
asl
<asl@opencascade.com>
Tue, 4 Oct 2005 05:36:09 +0000
(
05:36
+0000)
src/SMESHGUI/SMESHGUI.cxx
patch
|
blob
|
history
diff --git
a/src/SMESHGUI/SMESHGUI.cxx
b/src/SMESHGUI/SMESHGUI.cxx
index 17f9fdc9b691bac480600eaf4e2a580d46e54023..46e2d5b5bd283f5476e3951487b27a479c5d200e 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI.cxx
+++ b/
src/SMESHGUI/SMESHGUI.cxx
@@
-2754,8
+2754,8
@@
void SMESHGUI::initialize( CAM_Application* app )
QString anActiveVTK = QString("activeView = '%1'").arg(VTKViewer_Viewer::Type());
QString aSelCount = QString( "%1 > 0" ).arg( QtxPopupMgr::Selection::defSelCountParam() );
QString anActiveVTK = QString("activeView = '%1'").arg(VTKViewer_Viewer::Type());
QString aSelCount = QString( "%1 > 0" ).arg( QtxPopupMgr::Selection::defSelCountParam() );
- QString aRule = "type='Component' or (" + aClient + " and " + aType + " and " + aSelCount +
- " and " + anActiveVTK + " and " + isNotEmpty + " %1 )";
+ QString aRule = "
$component={'SMESH'} and (
type='Component' or (" + aClient + " and " + aType + " and " + aSelCount +
+ " and " + anActiveVTK + " and " + isNotEmpty + " %1 )
)
";
popupMgr()->insert( action( 301 ), -1, -1 ); // DISPLAY
popupMgr()->setRule( action( 301 ), aRule.arg( "and (not isVisible)" ), true);
popupMgr()->insert( action( 301 ), -1, -1 ); // DISPLAY
popupMgr()->setRule( action( 301 ), aRule.arg( "and (not isVisible)" ), true);