mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-02-06 03:44:17 +05:00
Additional fix for bug NPAL19028 (see remarks from Olivier Giorgis).
This commit is contained in:
parent
681172f20f
commit
9764a38099
@ -182,8 +182,13 @@ using namespace std;
|
|||||||
}else if (theCommandID == 111){
|
}else if (theCommandID == 111){
|
||||||
filter.append(QObject::tr("DAT files (*.dat)"));
|
filter.append(QObject::tr("DAT files (*.dat)"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QString anInitialPath = "";
|
||||||
|
if ( SUIT_FileDlg::getLastVisitedPath().isEmpty() )
|
||||||
|
anInitialPath = QDir::currentDirPath();
|
||||||
|
|
||||||
QString filename = SUIT_FileDlg::getFileName(SMESHGUI::desktop(),
|
QString filename = SUIT_FileDlg::getFileName(SMESHGUI::desktop(),
|
||||||
QDir::currentDirPath(),
|
anInitialPath,
|
||||||
filter,
|
filter,
|
||||||
QObject::tr("Import mesh"),
|
QObject::tr("Import mesh"),
|
||||||
true);
|
true);
|
||||||
|
Loading…
Reference in New Issue
Block a user