From: mpa Date: Thu, 24 Nov 2016 13:45:31 +0000 (+0300) Subject: add method NameChanged to update title name X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=cd0f70d9b3021c9d59492c2782c797efb3ed8de8;p=modules%2Fgui.git add method NameChanged to update title name --- diff --git a/src/SalomeApp/SalomeApp_Application.cxx b/src/SalomeApp/SalomeApp_Application.cxx index 3e4fa7ae6..a7caa1020 100644 --- a/src/SalomeApp/SalomeApp_Application.cxx +++ b/src/SalomeApp/SalomeApp_Application.cxx @@ -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 ); }