]> SALOME platform Git repositories - modules/superv.git/commitdiff
Salome HOME
Caption of SUPERVGraph view must be same as imported filename
authorasl <asl@opencascade.com>
Mon, 12 Dec 2005 13:09:48 +0000 (13:09 +0000)
committerasl <asl@opencascade.com>
Mon, 12 Dec 2005 13:09:48 +0000 (13:09 +0000)
src/SUPERVGUI/SUPERVGUI.cxx

index 9da02d6ab6ff9b1861ca02e51429a584bfb4274e..35c14746b24e011c755b6af81a9903c467ada8cf 100644 (file)
@@ -694,6 +694,9 @@ bool SUPERVGUI::createDataflow( const NEW_DF_MODE mode, bool theInitialDF ) {
       registerGraph( f, main );
     main->resizeView( new QResizeEvent( aViewFrame->size(), aViewFrame->size() ) );
     aViewFrame->show();
+    QFileInfo inf( f );
+    if( !f.isEmpty() )
+      aViewFrame->setCaption( inf.fileName() );
   }
 
   if ( !theInitialDF ) {