[longomatch] Update filters when enabled and disabled



commit 9af8cef4363450424190c72652c39a652c9a4c96
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Sat Nov 10 19:57:05 2012 +0100

    Update filters when enabled and disabled

 LongoMatch.Core/Common/PlaysFilter.cs |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/LongoMatch.Core/Common/PlaysFilter.cs b/LongoMatch.Core/Common/PlaysFilter.cs
index 777e7a4..e44025a 100644
--- a/LongoMatch.Core/Common/PlaysFilter.cs
+++ b/LongoMatch.Core/Common/PlaysFilter.cs
@@ -50,8 +50,7 @@ namespace LongoMatch.Common
 			}
 			set {
 				playersFiltered = value;
-				if (playersFiltered)
-					Update();
+				Update();
 			}
 		}
 		
@@ -61,8 +60,7 @@ namespace LongoMatch.Common
 			}
 			set {
 				categoriesFiltered = value;
-				if (categoriesFiltered)
-					Update();
+				Update();
 			}
 		}
 		



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