From: mzn Date: Tue, 25 Oct 2005 09:05:04 +0000 (+0000) Subject: Fix for bug PAL10393 ( Set MED2.2 as the default version in the export to med dialog... X-Git-Tag: V2_2_6~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1e3cd4b83318d8a83e6053aa2d2b556d2a45dc74;p=modules%2Fsmesh.git Fix for bug PAL10393 ( Set MED2.2 as the default version in the export to med dialog box ). --- diff --git a/src/SMESHGUI/SMESHGUI.cxx b/src/SMESHGUI/SMESHGUI.cxx index b0cd46321..476970f61 100644 --- a/src/SMESHGUI/SMESHGUI.cxx +++ b/src/SMESHGUI/SMESHGUI.cxx @@ -282,6 +282,7 @@ namespace{ QAD_FileDlg* fd = new QAD_FileDlg( parent, false, true, true ); fd->setCaption( aTitle ); fd->setFilters( filters ); + fd->setSelectedFilter( QObject::tr("MED 2.2 (*.med)") ); fd->exec(); aFilename = fd->selectedFile(); aFormat = aFilterMap[fd->selectedFilter()];