From 0e135c7c94fc8e54ac694a56a5a744856491a670 Mon Sep 17 00:00:00 2001
From: Anthony Lim <anthony.lim@stfc.ac.uk>
Date: Fri, 6 Oct 2017 15:02:04 +0100
Subject: [PATCH] refs #20835 fixed the windows 10 check

---
 scripts/Muon/table_utils.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/Muon/table_utils.py b/scripts/Muon/table_utils.py
index 98c2c062e8c..822c0b7ea45 100644
--- a/scripts/Muon/table_utils.py
+++ b/scripts/Muon/table_utils.py
@@ -53,8 +53,8 @@ def setTableHeaders(table):
         if os.name != "nt":
             return
         version=QtCore.QSysInfo.WindowsVersion
-        windows10=QtCore.QSysInfo.WindowsVersion
-        if(version==windows10):
+        WINDOWS_10=160
+        if(version==WINDOWS_10):
             styleSheet= \
                 "QHeaderView::section{"\
                 +"border-top:0px solid #D8D8D8;"\
-- 
GitLab