[longomatch] Make sure event types and timer are correctly updated



commit 4577c3aa969df186a708338fdf071bf6065f8806
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Tue Apr 14 18:18:29 2015 +0200

    Make sure event types and timer are correctly updated
    
    In case we are importing a project without dashboard

 LongoMatch.GUI/Gui/Panel/NewProjectPanel.cs |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/Panel/NewProjectPanel.cs b/LongoMatch.GUI/Gui/Panel/NewProjectPanel.cs
index 21c1e17..a6f2fb7 100644
--- a/LongoMatch.GUI/Gui/Panel/NewProjectPanel.cs
+++ b/LongoMatch.GUI/Gui/Panel/NewProjectPanel.cs
@@ -382,6 +382,9 @@ namespace LongoMatch.Gui.Panel
                        }
 
                        if (project != null) {
+                               /* Make sure event types and timers are updated in case we are importing
+                                * a project without dashboard */
+                               project.UpdateEventTypesAndTimers ();
                                return true;
                        }
                        


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