From 94bd00470a7e5408863377e5e073373b9f3415de Mon Sep 17 00:00:00 2001 From: vsv Date: Mon, 22 Oct 2018 16:32:20 +0300 Subject: [PATCH] Avoid unlimited cycling on export native --- src/XGUI/XGUI_Workshop.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/XGUI/XGUI_Workshop.cpp b/src/XGUI/XGUI_Workshop.cpp index 2a4f57be2..d1a11f682 100755 --- a/src/XGUI/XGUI_Workshop.cpp +++ b/src/XGUI/XGUI_Workshop.cpp @@ -1079,9 +1079,9 @@ bool XGUI_Workshop::onSaveAs() { if(!myOperationMgr->abortAllOperations(XGUI_OperationMgr::XGUI_InformationMessage)) return false; -#ifndef HAVE_SALOME myCurrentFile = QFileDialog::getSaveFileName(desktop(), tr("Select name to save file..."), QString(), MyFilter); +#ifndef HAVE_SALOME if (!myCurrentFile.isNull()) { myMainWindow->setCurrentDir(myCurrentFile, false); myMainWindow->setModifiedState(false); -- 2.39.2