Skip to content
Browse files

Expressions should always be evaluated when an inlcude with condition…

… is loaded.
  • Loading branch information...
1 parent 52790b8 commit 6c107bde76108e1c99ec594f05abb688b763f8ed @ajp8164 ajp8164 committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 mediaportal/Core/guilib/GUIWindow.cs
View
2 mediaportal/Core/guilib/GUIWindow.cs
@@ -654,7 +654,7 @@ public bool LoadSkin()
{
try
{
- loadInclude = bool.Parse(node.Attributes["condition"].Value);
+ loadInclude = bool.Parse(GUIPropertyManager.Parse(node.Attributes["condition"].Value, GUIExpressionManager.ExpressionOptions.EVALUATE_ALWAYS));
}
catch (FormatException)
{

0 comments on commit 6c107bd

Please sign in to comment.
Something went wrong with that request. Please try again.