From: mzn Date: Thu, 20 Mar 2008 12:45:53 +0000 (+0000) Subject: Fix for bug NPAL19028 ( Default way browser ). X-Git-Tag: TG_start_ELNO_visualization~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5fc4dded3aa36a40b5dc1ea73ce9b6847397ae65;p=modules%2Fvisu.git Fix for bug NPAL19028 ( Default way browser ). --- diff --git a/src/VISUGUI/VisuGUI.cxx b/src/VISUGUI/VisuGUI.cxx index 5be1851f..6f057444 100644 --- a/src/VISUGUI/VisuGUI.cxx +++ b/src/VISUGUI/VisuGUI.cxx @@ -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);