Salome HOME
Implement fix for bug PAL8551 ( Supervision message "Dataflow is not valid"
[modules/superv.git] / src / SUPERVGUI / SUPERVGUI_CanvasView.cxx
index ecdc2d0537ec73a2f06b57a3bb659123f101fff9..0d2b30fc9aee301e9db83ff4a3bf6fda1d3e70f6 100644 (file)
@@ -664,7 +664,8 @@ void SUPERVGUI_CanvasView::endSketch(SUPERVGUI_CanvasPort* thePort)
 
     // asv : 13.12.04 : introducing a check for ports' types compatibility (Bugs and Improvements p.1.16, PAL7380)
     if ( !aLinkEngine->IsValid() ) { 
-      const int id = SUIT_MessageBox::warn2( this, tr( "TLT_INVALID_LINK" ), tr( "MSG_INVALID_LINK" ), 
+      const int id = SUIT_MessageBox::warn2( this, tr( "TLT_INVALID_LINK" ), 
+                                            tr( "MSG_INVALID_LINK" ) + QString(" : ") + QString(myMain->getDataflow()->Messages()), 
                                             tr( "Keep" ), tr( "Remove" ), 0, 1, 0 );
       if ( id == 1 ) { // "Remove" was selected in Message Box
        aLink->remove(); // the new link did not live long...