From be9a9b9faa62c66678cec4da89d00cbcc28748d8 Mon Sep 17 00:00:00 2001
From: Richard Newsham <richard@simperl.com>
Date: Tue, 22 Mar 2022 07:34:02 +0000
Subject: [PATCH] Properties: Ensure QColor() is passed int args

---
 src/windows/views/properties_tableview.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/windows/views/properties_tableview.py b/src/windows/views/properties_tableview.py
index fdaa7ee2..6d05b7dd 100644
--- a/src/windows/views/properties_tableview.py
+++ b/src/windows/views/properties_tableview.py
@@ -343,7 +343,7 @@ class PropertiesTableView(QTableView):
                 blue = cur_property[1]["blue"]["value"]
 
                 # Show color dialog
-                currentColor = QColor(red, green, blue)
+                currentColor = QColor(int(red), int(green), int(blue))
                 log.debug("Launching ColorPicker for %s", currentColor.name())
                 ColorPicker(
                     currentColor, parent=self, title=_("Select a Color"),
-- 
2.37.2

