From 23588ba13f3928968c5d8f9384a7bb2a0a6cab48 Mon Sep 17 00:00:00 2001 From: thomjiji Date: Sat, 2 Nov 2024 15:13:16 +0800 Subject: [PATCH] backdropper: fixed type error --- scripts/nuketools/backdropper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/nuketools/backdropper.py b/scripts/nuketools/backdropper.py index 5a85f4c..656f537 100644 --- a/scripts/nuketools/backdropper.py +++ b/scripts/nuketools/backdropper.py @@ -327,7 +327,7 @@ def set_sliders(self): self.slider_val.setValue(curhsv[2]*100) self.note_font_size_slider.setValue(self.bd['note_font_size'].getValue()) if self.appearance_exists: - self.appearance_checkbox.setChecked(self.bd['appearance'].getValue()) + self.appearance_checkbox.setChecked(int(self.bd['appearance'].getValue())) # set text color rgb = hex2rgb(self.bd_defaults['text_color']) hsv = rgb2hsv(rgb)