Salome HOME
refs #525: autocolor of zones in a calculation case.
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_Module.cxx
index 17679d8755d7cd608fdb2478b28efb42ef95d56f..e0f4f8c8cb236158b8a3d832ec24e858e784d8c3 100644 (file)
@@ -608,11 +608,12 @@ void HYDROGUI_Module::contextMenuPopup( const QString& theClient,
       else if( anIsStream )
       {
         theMenu->addAction( action( EditStreamId ) );
-        if ( action( RiverBottomContext ) )
+        if ( action( RiverBottomContextId ) )
         {
-            theMenu->addAction( action( RiverBottomContext ) );
-            action( RiverBottomContext )->setEnabled( !isStreamHasBottom );
+            theMenu->addAction( action( RiverBottomContextId ) );
+            action( RiverBottomContextId )->setEnabled( !isStreamHasBottom );
         }
+        theMenu->addAction( action( ProfileInterpolateId ) );
         theMenu->addSeparator();
       }
       else if( anIsChannel )