Fix for bug NPAL19028 ( Default way browser ).

This commit is contained in:
mzn 2008-03-20 12:44:29 +00:00
parent 28332f1399
commit 7438b0e7bc

View File

@ -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();