From 220e6dcfe4036a1758c1ed5280c386bd7d278bf4 Mon Sep 17 00:00:00 2001 From: vsv Date: Tue, 30 Aug 2016 17:43:32 +0300 Subject: [PATCH] Issue #1405: Update title of standalone application on Open/Save operations --- src/XGUI/XGUI_Workshop.cpp | 3 +++ 1 file changed, 3 insertions(+) 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(); } -- 2.39.2