From: vsv Date: Mon, 22 Oct 2018 13:32:20 +0000 (+0300) Subject: Avoid unlimited cycling on export native X-Git-Tag: V9_2_0a2~6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=94bd00470a7e5408863377e5e073373b9f3415de;p=modules%2Fshaper.git Avoid unlimited cycling on export native --- 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);