From f2a40ecd08ad022badddfb47ecf2114769ca4058 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Kriszti=C3=A1n=20L=C3=B6ki?= <krisztian.loki@ess.eu>
Date: Wed, 9 Jun 2021 15:32:06 +0200
Subject: [PATCH] Diagnostics rule

---
 NON-APPROVED/odh/ODH_Main.bob | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/NON-APPROVED/odh/ODH_Main.bob b/NON-APPROVED/odh/ODH_Main.bob
index 37054cb4..7ddcc7d9 100644
--- a/NON-APPROVED/odh/ODH_Main.bob
+++ b/NON-APPROVED/odh/ODH_Main.bob
@@ -49,15 +49,13 @@
       <y>10</y>
       <width>130</width>
       <height>40</height>
+      <background_color>
+        <color name="ERROR" red="252" green="13" blue="27">
+        </color>
+      </background_color>
       <rules>
         <rule name="Color" prop_id="background_color" out_exp="false">
-          <exp bool_exp="pv0 == false">
-            <value>
-              <color name="ERROR" red="252" green="13" blue="27">
-              </color>
-            </value>
-          </exp>
-          <exp bool_exp="pv0 == true">
+          <exp bool_exp="pvInt0">
             <value>
               <color name="Button_Background" red="236" green="236" blue="236">
               </color>
-- 
GitLab