[longomatch] Use the config's last directory in the media file chooser



commit 35772049c3b4ff3ba4b64f658f92a4491204f756
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Wed Apr 1 19:34:10 2015 +0200

    Use the config's last directory in the media file chooser

 LongoMatch.GUI.Helpers/Misc.cs |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/LongoMatch.GUI.Helpers/Misc.cs b/LongoMatch.GUI.Helpers/Misc.cs
index 1593769..c2324f8 100644
--- a/LongoMatch.GUI.Helpers/Misc.cs
+++ b/LongoMatch.GUI.Helpers/Misc.cs
@@ -322,10 +322,9 @@ namespace LongoMatch.Gui.Helpers
                        MediaFile mediaFile;
                        IGUIToolkit gui = Config.GUIToolkit;
                        IMultimediaToolkit multimedia = Config.MultimediaToolkit;
-                       string folder, filename;
+                       string filename;
                        
-                       folder = System.Environment.GetFolderPath (Environment.SpecialFolder.Personal);
-                       filename = gui.OpenFile (Catalog.GetString ("Open file"), null, folder);
+                       filename = gui.OpenFile (Catalog.GetString ("Open file"), null, null);
                        if (filename == null)
                                return null;
                        


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