Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
681172f
)
Additional fix for bug NPAL19028 (see remarks from Olivier Giorgis).
author
mzn
<mzn@opencascade.com>
Tue, 29 Apr 2008 13:17:03 +0000
(13:17 +0000)
committer
mzn
<mzn@opencascade.com>
Tue, 29 Apr 2008 13:17:03 +0000
(13:17 +0000)
src/SMESHGUI/SMESHGUI.cxx
patch
|
blob
|
history
diff --git
a/src/SMESHGUI/SMESHGUI.cxx
b/src/SMESHGUI/SMESHGUI.cxx
index 7be6b84dff1865ec29b218528c1e652de38bc3ef..4cea0a9ba294b275ee23315b7a9d1808ec45f206 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI.cxx
+++ b/
src/SMESHGUI/SMESHGUI.cxx
@@
-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);