[longomatch] Change invalid path characters in proposed export filename



commit 00441850bbbf148f67e6c9d1672af7d71c4c58d2
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Mon Feb 16 14:56:36 2015 +0100

    Change invalid path characters in proposed export filename

 LongoMatch.GUI/Gui/Panel/ProjectsManagerPanel.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/Panel/ProjectsManagerPanel.cs 
b/LongoMatch.GUI/Gui/Panel/ProjectsManagerPanel.cs
index 6181b4a..86cbf50 100644
--- a/LongoMatch.GUI/Gui/Panel/ProjectsManagerPanel.cs
+++ b/LongoMatch.GUI/Gui/Panel/ProjectsManagerPanel.cs
@@ -193,7 +193,7 @@ namespace LongoMatch.Gui.Panel
                        if (loadedProject != null) {
                                string filename = gkit.SaveFile (
                                        Catalog.GetString ("Export project"),
-                                       loadedProject.Description.Title + Constants.PROJECT_EXT,
+                                       Utils.SanitizePath (loadedProject.Description.Title + 
Constants.PROJECT_EXT),
                                        Config.HomeDir, Constants.PROJECT_NAME,
                                        new string[] { Constants.PROJECT_EXT });
                                if (filename != null) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]