From: mzn Date: Tue, 25 Oct 2005 08:54:19 +0000 (+0000) Subject: Fix for bug PAL10393 ( Set MED2.2 as the default version in the export to med dialog... X-Git-Tag: V3_1_0a3~42 X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=commitdiff_plain;h=d1bef0cbc138728ebbd53f4f47112664e6a607e3 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 d802648e4..4b966ce59 100644 --- a/src/SMESHGUI/SMESHGUI.cxx +++ b/src/SMESHGUI/SMESHGUI.cxx @@ -300,6 +300,7 @@ namespace{ SUIT_FileDlg* fd = new SUIT_FileDlg( SMESHGUI::desktop(), false, true, true ); fd->setCaption( aTitle ); fd->setFilters( filters ); + fd->setSelectedFilter( QObject::tr("MED 2.2 (*.med)") ); bool is_ok = false; while(!is_ok){ fd->exec();