[longomatch] Use the correct dialog for saving drawings to file



commit 9df126b34bf9797ce332b8ab1179792ce28e9943
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Thu Jun 6 01:29:32 2013 +0200

    Use the correct dialog for saving drawings to file

 LongoMatch.GUI/Gui/Dialog/DrawingTool.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/Dialog/DrawingTool.cs b/LongoMatch.GUI/Gui/Dialog/DrawingTool.cs
index 33e93b7..c77656d 100644
--- a/LongoMatch.GUI/Gui/Dialog/DrawingTool.cs
+++ b/LongoMatch.GUI/Gui/Dialog/DrawingTool.cs
@@ -99,7 +99,7 @@ namespace LongoMatch.Gui.Dialog
                {
                        string filename;
                        
-                       filename = FileChooserHelper.OpenFile (this, Catalog.GetString("Save File as..."),
+                       filename = FileChooserHelper.SaveFile (this, Catalog.GetString("Save File as..."),
                                                               null, Config.SnapshotsDir, "PNG Images", new 
string[] {"*.png"});
                        if (filename != null) {
                                if(System.IO.Path.GetExtension(filename) != "png")


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