Commit 73387fd28b1b0be873377324172480c770986048
1 parent
48a92d1e
Exists in
master
and in
5 other branches
It wasn't possible to change the gradient colour
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
invesalius/gui/widgets/gradient.py
... | ... | @@ -377,7 +377,7 @@ class GradientCtrl(wx.Panel): |
377 | 377 | self.SetMaxValue(v) |
378 | 378 | |
379 | 379 | def SetColour(self, colour): |
380 | - colour = colour + [90,] | |
380 | + colour = list(colour) + [90,] | |
381 | 381 | self.colour = colour |
382 | 382 | self.gradient_slider.SetColour(colour) |
383 | 383 | self.gradient_slider.Refresh() | ... | ... |