From d1bef0cbc138728ebbd53f4f47112664e6a607e3 Mon Sep 17 00:00:00 2001 From: mzn Date: Tue, 25 Oct 2005 08:54:19 +0000 Subject: [PATCH] Fix for bug PAL10393 ( Set MED2.2 as the default version in the export to med dialog box ). --- src/SMESHGUI/SMESHGUI.cxx | 1 + 1 file changed, 1 insertion(+) 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(); -- 2.39.2