]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
add method NameChanged to update title name
authormpa <mpa@opencascade.com>
Thu, 24 Nov 2016 13:45:31 +0000 (16:45 +0300)
committermpa <mpa@opencascade.com>
Thu, 24 Nov 2016 13:45:31 +0000 (16:45 +0300)
src/SalomeApp/SalomeApp_Application.cxx

index 3e4fa7ae6aea854fe39ef225c7c35607ff0b96fb..a7caa102062cea8dc5574fd602f0b52a5829fc35 100644 (file)
@@ -563,6 +563,9 @@ void SalomeApp_Application::onDesktopMessage( const QString& message )
   else if ( message.toLower() == "connect_to_study" ) {
     onLoadDoc();
   }
+  if (message.indexOf("studyNameChanged") == 0) {
+    updateDesktopTitle();
+  }
   LightApp_Application::onDesktopMessage( message );
 }