[longomatch] Fix crash cancelling fake project



commit c04e3bcd2541e244cc2e27b5c871a22758ce7654
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Sun Jul 7 19:07:23 2013 +0200

    Fix crash cancelling fake project

 LongoMatch.GUI/Gui/GUIToolkit.cs |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/GUIToolkit.cs b/LongoMatch.GUI/Gui/GUIToolkit.cs
index f7057ec..df8dba0 100644
--- a/LongoMatch.GUI/Gui/GUIToolkit.cs
+++ b/LongoMatch.GUI/Gui/GUIToolkit.cs
@@ -334,6 +334,7 @@ namespace LongoMatch.Gui
                        int response = npd.Run();
                        while(true) {
                                if(response != (int)ResponseType.Ok) {
+                                       project = null;
                                        break;
                                } else if(npd.Project == null) {
                                        InfoMessage(Catalog.GetString("Please, select a video file."));


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