]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Fix for bug NPAL19028 ( Default way browser ).
authormzn <mzn@opencascade.com>
Thu, 20 Mar 2008 12:45:53 +0000 (12:45 +0000)
committermzn <mzn@opencascade.com>
Thu, 20 Mar 2008 12:45:53 +0000 (12:45 +0000)
src/VISUGUI/VisuGUI.cxx

index 5be1851f943d2768b7cc8bd3d0a32746208c9883..6f057444cc2c5a19db2675bf5959618ba40d56d1 100644 (file)
@@ -195,6 +195,7 @@ VisuGUI
   fd->setCaption( tr( "IMPORT_FROM_FILE" ) );
   fd->setFilters( aFilter );
   fd->SetChecked( toUseBuildProgress );
+  fd->setDir( QDir::currentDirPath() );
   fd->exec();
   QFileInfo aFileInfo( fd->selectedFile() );
   toUseBuildProgress = fd->IsChecked();
@@ -257,7 +258,7 @@ VisuGUI
 
   QFileInfo aFileInfo =
     SUIT_FileDlg::getFileName(GetDesktop(this),
-                              "",
+                              QDir::currentDirPath(),
                               aFilter,
                               tr("MEN_IMPORT_TABLE"),
                               true);