From 73387fd28b1b0be873377324172480c770986048 Mon Sep 17 00:00:00 2001 From: tfmoraes Date: Mon, 30 Aug 2010 19:46:22 +0000 Subject: [PATCH] It wasn't possible to change the gradient colour --- invesalius/gui/widgets/gradient.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invesalius/gui/widgets/gradient.py b/invesalius/gui/widgets/gradient.py index 054038f..caff18b 100755 --- a/invesalius/gui/widgets/gradient.py +++ b/invesalius/gui/widgets/gradient.py @@ -377,7 +377,7 @@ class GradientCtrl(wx.Panel): self.SetMaxValue(v) def SetColour(self, colour): - colour = colour + [90,] + colour = list(colour) + [90,] self.colour = colour self.gradient_slider.SetColour(colour) self.gradient_slider.Refresh() -- libgit2 0.21.2