mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-30 19:30:35 +05:00
Fix for bug 0019870(Import/Export should show current directory). Correction.
This commit is contained in:
parent
3e81347908
commit
9400fe5867
@ -370,7 +370,7 @@ using namespace std;
|
|||||||
fd->setCaption( aTitle );
|
fd->setCaption( aTitle );
|
||||||
fd->setFilters( filters );
|
fd->setFilters( filters );
|
||||||
fd->setSelectedFilter( QObject::tr("STL ASCII (*.stl)") );
|
fd->setSelectedFilter( QObject::tr("STL ASCII (*.stl)") );
|
||||||
if ( anInitialPath.isEmpty() )
|
if ( !anInitialPath.isEmpty() )
|
||||||
fd->setDir( anInitialPath );
|
fd->setDir( anInitialPath );
|
||||||
bool is_ok = false;
|
bool is_ok = false;
|
||||||
while (!is_ok) {
|
while (!is_ok) {
|
||||||
@ -399,7 +399,7 @@ using namespace std;
|
|||||||
//fd->setSelectedFilter( QObject::tr("MED 2.2 (*.med)") );
|
//fd->setSelectedFilter( QObject::tr("MED 2.2 (*.med)") );
|
||||||
fd->setSelectedFilter(aDefaultFilter);
|
fd->setSelectedFilter(aDefaultFilter);
|
||||||
fd->SetChecked(toCreateGroups);
|
fd->SetChecked(toCreateGroups);
|
||||||
if ( anInitialPath.isEmpty() )
|
if ( !anInitialPath.isEmpty() )
|
||||||
fd->setDir( anInitialPath );
|
fd->setDir( anInitialPath );
|
||||||
bool is_ok = false;
|
bool is_ok = false;
|
||||||
while (!is_ok) {
|
while (!is_ok) {
|
||||||
|
Loading…
Reference in New Issue
Block a user