]> SALOME platform Git repositories - tools/hxx2salome.git/commitdiff
Salome HOME
Porting HXX2SALOME module to Qt4
authorvsr <vsr@opencascade.com>
Thu, 11 Dec 2008 14:50:06 +0000 (14:50 +0000)
committervsr <vsr@opencascade.com>
Thu, 11 Dec 2008 14:50:06 +0000 (14:50 +0000)
src/hxx2salome.cpp

index ad3d52736aceec0971106bc75195638207bc7731..09ed9697009ae687cf85908eb1aa14e79e78c820 100644 (file)
@@ -123,7 +123,7 @@ void HXX2Salome::on_LibraryButton_clicked()
 
 void HXX2Salome::on_EnvFileButton_clicked()
 {
-  QString s = QFileDialog::getSaveFileName( this,
+  QString s = QFileDialog::getOpenFileName( this,
                                            tr( "Choose a script file to open" ),
                                            EnvFileText->text(),
                                            tr( "Environment files (*.csh *.sh)" ) );