[longomatch] Check all angles before creating the new project



commit 1894ca1b8dd4064442fd543d0166d33842820794
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Thu Nov 13 17:17:28 2014 +0100

    Check all angles before creating the new project

 LongoMatch.GUI/Gui/Panel/NewProjectPanel.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/Panel/NewProjectPanel.cs b/LongoMatch.GUI/Gui/Panel/NewProjectPanel.cs
index 9393039..4d8d722 100644
--- a/LongoMatch.GUI/Gui/Panel/NewProjectPanel.cs
+++ b/LongoMatch.GUI/Gui/Panel/NewProjectPanel.cs
@@ -276,7 +276,7 @@ namespace LongoMatch.Gui.Panel
                        
                        if (projectType == ProjectType.FileProject ||
                                projectType == ProjectType.EditProject) {
-                               if (mediafilesetselection1.FileSet.GetAngle (MediaFileAngle.Angle1) == null) {
+                               if (!mediafilesetselection1.FileSet.CheckFiles ()) {
                                        gtoolkit.WarningMessage (Catalog.GetString ("You need at least 1 
video file for the main angle"));
                                        return false;
                                }


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