[longomatch] Fix postions combobox reading



commit bd55c44b2c960993b7597221b1fddcef385edc1a
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Tue Sep 9 08:46:47 2014 +0200

    Fix postions combobox reading

 LongoMatch.GUI/Gui/Component/CategoryProperties.cs |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/Component/CategoryProperties.cs 
b/LongoMatch.GUI/Gui/Component/CategoryProperties.cs
index 7f8cd8c..7d32859 100644
--- a/LongoMatch.GUI/Gui/Component/CategoryProperties.cs
+++ b/LongoMatch.GUI/Gui/Component/CategoryProperties.cs
@@ -151,14 +151,14 @@ namespace LongoMatch.Gui.Component
                void ReadPositionCombo (ComboBox box, out bool tagField, out bool asTrayectory)
                {
                        if (box.Active == 0) {
-                               tagField = true;
+                               tagField = false;
                                asTrayectory = false;
                        } else if (box.Active == 1) {
                                tagField = true;
-                               asTrayectory = true;
-                       } else {
-                               tagField = false;
                                asTrayectory = false;
+                       } else {
+                               tagField = true;
+                               asTrayectory = true;
                        }
                }
 


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