]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
refs #596: improve polyline popup menu in Object Browser.
authormkr <mkr@opencascade.com>
Fri, 26 Jun 2015 12:16:43 +0000 (15:16 +0300)
committermkr <mkr@opencascade.com>
Fri, 26 Jun 2015 12:16:43 +0000 (15:16 +0300)
src/HYDROGUI/HYDROGUI_Module.cxx

index a4177f665ba69b50ddd94c16ac896f83eb28ff7c..cb44e201a2f68800dadb181659b0e57dfb2aad4e 100644 (file)
@@ -524,6 +524,7 @@ void HYDROGUI_Module::contextMenuPopup( const QString& theClient,
           theMenu->addAction( action( CreateCalculationId ) );
           break;
         case KIND_POLYLINEXY:
+          theMenu->addAction( action( ImportPolylineId ) );
           theMenu->addAction( action( CreatePolylineId ) );
           break;
         case KIND_POLYLINE:
@@ -599,6 +600,9 @@ void HYDROGUI_Module::contextMenuPopup( const QString& theClient,
       {
         theMenu->addAction( action( EditPolylineId ) );
         theMenu->addSeparator();
+        theMenu->addAction( action( SplitPolylinesId ) );
+        theMenu->addAction( action( MergePolylinesId ) );
+        theMenu->addSeparator();
       }
       else if( anIsPolyline3D )
       {