[longomatch] Don't destroy the dialog until we have read the properties



commit af7c08c796bad536fbcd0ee81f92fef01f4f62cf
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Sun Jul 25 00:39:40 2010 +0200

    Don't destroy the dialog until we have read the properties

 LongoMatch/Gui/Component/PlayListWidget.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/LongoMatch/Gui/Component/PlayListWidget.cs b/LongoMatch/Gui/Component/PlayListWidget.cs
index 71f4494..13e2783 100644
--- a/LongoMatch/Gui/Component/PlayListWidget.cs
+++ b/LongoMatch/Gui/Component/PlayListWidget.cs
@@ -265,7 +265,6 @@ namespace LongoMatch.Gui.Component
 				                          Catalog.GetString("Please, select a video file."));
 				response=vep.Run();
 			}
-			vep.Destroy();
 			if (response ==(int)ResponseType.Ok) {
 				//FIXME:Create a new instance of the video editor until we fix the audio swith enable/disabled
 				LoadEditor();
@@ -296,6 +295,7 @@ namespace LongoMatch.Gui.Component
 				catch (Exception ex) {
 					MessagePopup.PopupMessage(this, MessageType.Error, Catalog.GetString(ex.Message));
 				}
+			vep.Destroy();
 			}
 		}
 



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