From cd0f70d9b3021c9d59492c2782c797efb3ed8de8 Mon Sep 17 00:00:00 2001 From: mpa Date: Thu, 24 Nov 2016 16:45:31 +0300 Subject: [PATCH] add method NameChanged to update title name --- src/SalomeApp/SalomeApp_Application.cxx | 3 +++ 1 file changed, 3 insertions(+) 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 ); } -- 2.39.2