Commit 9a51f9847ab99023f5aa8fec7fd1d677c25ec998
1 parent
77eb1bed
Exists in
master
and in
1 other branch
Updating the transparency correctly when choosing another surface
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
invesalius/gui/task_surface.py
... | ... | @@ -527,7 +527,7 @@ class SurfaceProperties(wx.Panel): |
527 | 527 | |
528 | 528 | self.combo_surface_name.SetItems([n[0] for n in self.surface_list]) |
529 | 529 | self.combo_surface_name.SetSelection(i) |
530 | - transparency = 100*pubsub_evt.data[4] | |
530 | + transparency = 100*pubsub_evt.data[5] | |
531 | 531 | self.button_colour.SetColour(colour) |
532 | 532 | self.slider_transparency.SetValue(transparency) |
533 | 533 | Publisher.sendMessage('Update surface data', (index)) | ... | ... |