From: mzn Date: Thu, 20 Mar 2008 12:42:42 +0000 (+0000) Subject: Fix for bug NPAL19028 ( Default way browser ). X-Git-Tag: TG_start_ELNO_visualization~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9c4bbb9b52cf62d5fef9ff82ea2100d3f3e6e7ae;p=modules%2Fgui.git Fix for bug NPAL19028 ( Default way browser ). --- diff --git a/src/SalomeApp/SalomeApp_Application.cxx b/src/SalomeApp/SalomeApp_Application.cxx index c27340438..0a4f4e18d 100644 --- a/src/SalomeApp/SalomeApp_Application.cxx +++ b/src/SalomeApp/SalomeApp_Application.cxx @@ -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() ) {