mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-02-06 04:04:18 +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){
|
||||
filter.append(QObject::tr("DAT files (*.dat)"));
|
||||
}
|
||||
|
||||
QString anInitialPath = "";
|
||||
if ( SUIT_FileDlg::getLastVisitedPath().isEmpty() )
|
||||
anInitialPath = QDir::currentDirPath();
|
||||
|
||||
QString filename = SUIT_FileDlg::getFileName(SMESHGUI::desktop(),
|
||||
QDir::currentDirPath(),
|
||||
anInitialPath,
|
||||
filter,
|
||||
QObject::tr("Import mesh"),
|
||||
true);
|
||||
|
Loading…
Reference in New Issue
Block a user