Salome HOME
refs #593: Split polylines, Merge polylines icons.
[modules/hydro.git] / 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 )
       {