Salome HOME
Import of landcover: small bug fixes
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_Module.cxx
index 2871e99214fc3687dca8eb6d66ab6d36a8b1830b..112499ae1962a96221840d221972dae00c0d1d81 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 )
       {
@@ -680,7 +684,7 @@ void HYDROGUI_Module::contextMenuPopup( const QString& theClient,
 
       if ( anIsStream || anIsChannel || anIsDigue || anIsObstacle )
       {
-        theMenu->addAction( action( PolylineExtraction ) );
+        theMenu->addAction( action( PolylineExtractionId ) );
         theMenu->addSeparator();
       }