[longomatch] Destroy the dialog after reading the values



commit a221881f6c09bf8b0eb7c0a4f3a181dc16c545c7
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Sun Dec 9 11:31:25 2012 +0100

    Destroy the dialog after reading the values

 LongoMatch.GUI/Gui/GUIToolkit.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/GUIToolkit.cs b/LongoMatch.GUI/Gui/GUIToolkit.cs
index e7aba76..2341c02 100644
--- a/LongoMatch.GUI/Gui/GUIToolkit.cs
+++ b/LongoMatch.GUI/Gui/GUIToolkit.cs
@@ -134,9 +134,9 @@ namespace LongoMatch.Gui
 			sd.Play = play.Name;
 
 			if(sd.Run() == (int)ResponseType.Ok) {
-				sd.Destroy();
 				interval = sd.Interval;
 				seriesName = sd.SeriesName;
+				sd.Destroy();
 				outDir = System.IO.Path.Combine(snapshotsDir, seriesName);
 				var fsc = new FramesSeriesCapturer(openedProject.Description.File.FilePath,
 				                               play.Start.MSeconds, play.Stop.MSeconds,



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