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

index c273404389d02e81e88a9682b57509b0f5f4109e..0a4f4e18dea46fe65074b5240161daf246e5968b 100644 (file)
@@ -770,8 +770,8 @@ void SalomeApp_Application::onLoadScript( )
   QStringList filtersList;
   filtersList.append(tr("PYTHON_FILES_FILTER"));
   filtersList.append(tr("ALL_FILES_FILTER"));
-
-  QString aFile = SUIT_FileDlg::getFileName( desktop(), "", filtersList, tr( "TOT_DESK_FILE_LOAD_SCRIPT" ), true, true );
+  
+  QString aFile = SUIT_FileDlg::getFileName( desktop(), QDir::currentDirPath(), filtersList, tr( "TOT_DESK_FILE_LOAD_SCRIPT" ), true, true );
 
   if ( !aFile.isEmpty() )
   {