[longomatch/redesign: 3/11] Fix crash on Linux opening the calendar



commit 4c94452bde5f94e3eb4995ac1b311330587809df
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Fri Oct 8 18:43:24 2010 +0200

    Fix crash on Linux opening the calendar

 LongoMatch/Gui/Component/ProjectDetailsWidget.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/LongoMatch/Gui/Component/ProjectDetailsWidget.cs b/LongoMatch/Gui/Component/ProjectDetailsWidget.cs
index 68a5713..0e64d4b 100644
--- a/LongoMatch/Gui/Component/ProjectDetailsWidget.cs
+++ b/LongoMatch/Gui/Component/ProjectDetailsWidget.cs
@@ -66,7 +66,7 @@ namespace LongoMatch.Gui.Component
 			this.Build();
 
 			//HACK:The calendar dialog does not respond on win32
-			if (Environment.OSVersion.Platform == PlatformID.Win32NT) {
+			if (Environment.OSVersion.Platform != PlatformID.Win32NT) {
 				cp = new CalendarPopup();
 				cp.Hide();
 				cp.DateSelectedEvent += new DateSelectedHandler(OnDateSelected);



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