[longomatch] Fix extensions and removed unused variable



commit 427e2063a0eee05fbabd9b1686995ff9a0a4ca79
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Thu Jun 27 17:03:58 2013 +0200

    Fix extensions and removed unused variable

 .../Gui/Component/ProjectDetailsWidget.cs          |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/Component/ProjectDetailsWidget.cs 
b/LongoMatch.GUI/Gui/Component/ProjectDetailsWidget.cs
index 2016255..2083784 100644
--- a/LongoMatch.GUI/Gui/Component/ProjectDetailsWidget.cs
+++ b/LongoMatch.GUI/Gui/Component/ProjectDetailsWidget.cs
@@ -443,14 +443,12 @@ namespace LongoMatch.Gui.Component
 
                protected virtual void OnOpenbuttonClicked(object sender, System.EventArgs e)
                {
-                       FileChooserDialog fChooser = null;
-
                        if(useType == ProjectType.CaptureProject || useType == ProjectType.URICaptureProject) 
{
                                string filename;
                                
                                filename = FileChooserHelper.SaveFile (this, Catalog.GetString("Output file"),
                                                                       "Capture.mp4", Config.VideosDir, "MP4",
-                                                                      new string[] {".mp4"});
+                                                                      new string[] {"*.mp4"});
                                if (filename != null)
                                        fileEntry.Text = System.IO.Path.ChangeExtension(filename, "mp4");
 


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