[longomatch] Fix path with dates '/' for exported projects



commit a414e810ebe0acc36f5101801fd922759e35f693
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Sun Nov 10 17:34:09 2013 +0100

    Fix path with dates '/' for exported projects

 LongoMatch.Services/Services/ProjectsManager.cs |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/LongoMatch.Services/Services/ProjectsManager.cs b/LongoMatch.Services/Services/ProjectsManager.cs
index e3f0ff8..3df2c43 100644
--- a/LongoMatch.Services/Services/ProjectsManager.cs
+++ b/LongoMatch.Services/Services/ProjectsManager.cs
@@ -113,6 +113,7 @@ namespace LongoMatch.Services
                                string projectFile = DateTime.Now.ToString().Replace("-", "_");
                                projectFile = projectFile.Replace(":", "_");
                                projectFile = projectFile.Replace(" ", "_");
+                               projectFile = projectFile.Replace("/", "_");
                                projectFile = filePath + "_" + projectFile;
                                Project.Export(OpenedProject, projectFile);
                                guiToolkit.ErrorMessage(Catalog.GetString("An error occured saving the 
project:\n")+ex.Message+ "\n\n"+


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