]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Avoid unlimited cycling on export native
authorvsv <vsv@opencascade.com>
Mon, 22 Oct 2018 13:32:20 +0000 (16:32 +0300)
committervsv <vsv@opencascade.com>
Mon, 22 Oct 2018 13:32:20 +0000 (16:32 +0300)
src/XGUI/XGUI_Workshop.cpp

index 2a4f57be2429682bd006a8093f124ec76f917d86..d1a11f68297f26eca63905457de6e015eda82d5c 100755 (executable)
@@ -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);