mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-28 18:30:35 +05:00
Fix for bug IPAL20043 : Problem of current folder definition during mesh export (Appendix for Mantis 0019903).
This commit is contained in:
parent
c174b59dd5
commit
4112f94a38
@ -378,9 +378,11 @@ using namespace std;
|
||||
if ( SUIT_FileDlg::getLastVisitedPath().isEmpty() )
|
||||
anInitialPath = QDir::currentDirPath();
|
||||
|
||||
if ( theCommandID != 122 && theCommandID != 125 && theCommandID != 140 && theCommandID != 141)
|
||||
if ( theCommandID != 122 && theCommandID != 125 && theCommandID != 140 && theCommandID != 141) {
|
||||
if ( anInitialPath.isEmpty() ) anInitialPath = SUIT_FileDlg::getLastVisitedPath();
|
||||
aFilename = SUIT_FileDlg::getFileName(SMESHGUI::desktop(), anInitialPath + QString("/") + anIObject->getName(),
|
||||
aFilter, aTitle, false);
|
||||
}
|
||||
else if(theCommandID == 140 || theCommandID == 141) { // Export to STL
|
||||
QStringList filters;
|
||||
QMap<QString, int>::const_iterator it = aFilterMapSTL.begin();
|
||||
|
Loading…
Reference in New Issue
Block a user