From: mzn Date: Thu, 20 Mar 2008 12:44:29 +0000 (+0000) Subject: Fix for bug NPAL19028 ( Default way browser ). X-Git-Tag: V4_1_2rc1~25 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7438b0e7bc777063d101a6d5549a5785713297e8;p=modules%2Fsmesh.git Fix for bug NPAL19028 ( Default way browser ). --- diff --git a/src/SMESHGUI/SMESHGUI.cxx b/src/SMESHGUI/SMESHGUI.cxx index 63ad64e37..9c0f854b2 100644 --- a/src/SMESHGUI/SMESHGUI.cxx +++ b/src/SMESHGUI/SMESHGUI.cxx @@ -183,10 +183,10 @@ using namespace std; filter.append(QObject::tr("DAT files (*.dat)")); } QString filename = SUIT_FileDlg::getFileName(SMESHGUI::desktop(), - "", - filter, - QObject::tr("Import mesh"), - true); + QDir::currentDirPath(), + filter, + QObject::tr("Import mesh"), + true); if(!filename.isEmpty()) { SUIT_OverrideCursor wc; _PTR(Study) aStudy = SMESH::GetActiveStudyDocument();