]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Fix for bug 10369: Mandrake porting: absent file name in the Export table dialog
authorjfa <jfa@opencascade.com>
Tue, 8 Nov 2005 10:23:09 +0000 (10:23 +0000)
committerjfa <jfa@opencascade.com>
Tue, 8 Nov 2005 10:23:09 +0000 (10:23 +0000)
src/VISUGUI/VisuGUI.cxx

index c7f189885dea5673a0e46abc0b03fcd763663428..4bb3a21ec7cff2ad0859a7310ded261a74f58086 100644 (file)
@@ -339,7 +339,7 @@ OnExportTableToFile()
         aTitle = aTabAttr->GetTitle().c_str();
       }
       aTitle.simplifyWhiteSpace();
-      aTitle = aTitle.replace(QRegExp(" "), "_");
+      aTitle = aTitle.replace(QRegExp(" "), "_").replace(QRegExp("\\*"), "" );
 
       // get default path for the file
       SUIT_ResourceMgr* aResourceMgr = GetResourceMgr();