[longomatch] Closes Bug 592931



commit 4fb135ae8ab0299bcd76c60568856e3ecfd49371
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Mon Aug 24 19:58:03 2009 +0200

    Closes  Bug 592931

 LongoMatch/Gui/FileDescriptionWidget.cs |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/LongoMatch/Gui/FileDescriptionWidget.cs b/LongoMatch/Gui/FileDescriptionWidget.cs
index 9e47110..d3a77e9 100644
--- a/LongoMatch/Gui/FileDescriptionWidget.cs
+++ b/LongoMatch/Gui/FileDescriptionWidget.cs
@@ -282,8 +282,9 @@ namespace LongoMatch.Gui.Component
 				fChooser.SetCurrentFolder(MainClass.VideosDir());
 				if (fChooser.Run() == (int)ResponseType.Accept)
 					fileEntry.Text = fChooser.Filename;
-				fChooser.Destroy();									
-			}else {
+				fChooser.Destroy();
+				
+			}else	{
 				fChooser = new FileChooserDialog(Catalog.GetString("Open file..."),
 				                                 (Gtk.Window)this.Toplevel,
 				                                 FileChooserAction.Open,
@@ -314,7 +315,8 @@ namespace LongoMatch.Gui.Component
 					finally{
 						md.Destroy();
 					}					
-				}			
+				}
+				fChooser.Destroy();
 			}		
 		}
 



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