From: vsv Date: Tue, 30 Aug 2016 14:43:32 +0000 (+0300) Subject: Issue #1405: Update title of standalone application on Open/Save operations X-Git-Tag: V_2.5.0~108 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=220e6dcfe4036a1758c1ed5280c386bd7d278bf4;p=modules%2Fshaper.git Issue #1405: Update title of standalone application on Open/Save operations --- diff --git a/src/XGUI/XGUI_Workshop.cpp b/src/XGUI/XGUI_Workshop.cpp index 800e59028..6892cfc6e 100755 --- a/src/XGUI/XGUI_Workshop.cpp +++ b/src/XGUI/XGUI_Workshop.cpp @@ -751,6 +751,9 @@ void XGUI_Workshop::openDirectory(const QString& theDirectory) aSession->load(myCurrentDir.toLatin1().constData()); myObjectBrowser->rebuildDataTree(); updateCommandStatus(); +#ifndef HAVE_SALOME + myMainWindow->setCurrentDir(myCurrentDir, true); +#endif QApplication::restoreOverrideCursor(); }