]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Bug PAL7334
authorapo <apo@opencascade.com>
Tue, 28 Dec 2004 06:06:40 +0000 (06:06 +0000)
committerapo <apo@opencascade.com>
Tue, 28 Dec 2004 06:06:40 +0000 (06:06 +0000)
  DEVELOPMENT : Control Improvement

src/SMESHGUI/SMESHGUI.cxx

index 453dda9b951df97f8787f4a586571ddf1b64c7f1..0c6049cab375ce75647971f490d7e51ca5b20c26 100644 (file)
@@ -2499,11 +2499,11 @@ bool SMESHGUI::CustomPopup(QAD_Desktop* parent, QPopupMenu* popup, const QString
              TVisualObjPtr aVisualObj = anActor->GetObject();
              if(aNbEdges == 0){
                mi->popup()->removeItem( 6001 );
-               mi->popup()->removeItem( 6018 );
                mi->popup()->removeItem( 6003 );
                mi->popup()->removeItem( 6004 );
              }
              if(aNbFaces == 0){
+               mi->popup()->removeItem( 6018 );
                mi->popup()->removeItem( 6002 );
                mi->popup()->removeItem( 6011 );
                mi->popup()->removeItem( 6012 );