From: mzn Date: Thu, 3 Nov 2005 14:00:09 +0000 (+0000) Subject: Fix for bug ( IPAL10369 Maintainance mandrake porting: Incorrect file type in the... X-Git-Tag: V2_2_6~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=144da868e899e6505b93444b7ffece518b3a8480;p=modules%2Fvisu.git Fix for bug ( IPAL10369 Maintainance mandrake porting: Incorrect file type in the Export table dialog ). --- diff --git a/src/VISUGUI/VisuGUI.cxx b/src/VISUGUI/VisuGUI.cxx index cf12d605..03e084bd 100644 --- a/src/VISUGUI/VisuGUI.cxx +++ b/src/VISUGUI/VisuGUI.cxx @@ -3836,7 +3836,7 @@ void VisuGUI::ExportTableToFile() aDlg -> setCaption("Export Table To File"); aDlg -> setDir( getVisuOutputDir() ); aDlg -> setFilters(flt); - aDlg -> setSelection(aTitle.replace(QRegExp(" "), "_")); + aDlg -> setSelection(aTitle.replace(QRegExp(" "), "_").replace("*", "")); aDlg -> exec(); QString aFile = aDlg -> selectedFile(); delete aDlg;