]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
[bos #26444] Fix pb with Import dialog
authorvsr <vsr@opencascade.com>
Wed, 3 Nov 2021 09:10:40 +0000 (12:10 +0300)
committervsr <vsr@opencascade.com>
Wed, 3 Nov 2021 09:12:02 +0000 (12:12 +0300)
src/ParametersPlugin/ParametersPlugin_WidgetParamsMgr.cpp

index e911b98213a1fab6854637b14a532b94f063122c..6cad0001346eed4bf21036eaf307754850b8a097 100644 (file)
@@ -701,11 +701,9 @@ void ParametersPlugin_WidgetParamsMgr::onImport()
 {
   std::string aWinText("Select txt file");
   std::string aFileType("Text files (*.txt);;All files (*.*)");
-  QFlags<QFileDialog::Option> aOption = {QFileDialog::ExistingFile};
   QString aQPath = QFileDialog::getOpenFileName(nullptr,
                                                 aWinText.c_str(), "",
-                                                aFileType.c_str(), nullptr,
-                                                aOption);
+                                                aFileType.c_str());
   if (aQPath.size() == 0)
     return;