fd->setCaption( tr( "IMPORT_FROM_FILE" ) );
fd->setFilters( aFilter );
fd->SetChecked( toUseBuildProgress );
- fd->setDir( QDir::currentDirPath() );
+ if ( SalomeApp_CheckFileDlg::getLastVisitedPath().isEmpty() )
+ fd->setDir( QDir::currentDirPath() );
fd->exec();
QFileInfo aFileInfo( fd->selectedFile() );
toUseBuildProgress = fd->IsChecked();
aFilter.append( tr("FLT_TABLE_FILES") );
aFilter.append( tr("FLT_ALL_FILES") );
+ QString anInitialPath = "";
+ if ( SUIT_FileDlg::getLastVisitedPath().isEmpty() )
+ anInitialPath = QDir::currentDirPath();
+
QFileInfo aFileInfo =
SUIT_FileDlg::getFileName(GetDesktop(this),
- QDir::currentDirPath(),
+ anInitialPath,
aFilter,
tr("MEN_IMPORT_TABLE"),
true);