Skip to content

Commit bbf770c

Browse files
committed
Fix sliderMoved signal connection in ColorMapEditor
1 parent 5b21bcb commit bbf770c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plotpy/widgets/colormap/editor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def __init__(
155155
self.colormap_widget.HANDLE_ADDED.connect(self.new_tab)
156156
self.colormap_widget.HANDLE_DELETED.connect(self.delete_tab)
157157
self.colormap_widget.multi_range_hslider.sliderMoved.connect(
158-
self.update_current_dataset
158+
lambda *args: self.update_current_dataset()
159159
)
160160

161161
def set_colormap(self, colormap: EditableColormap) -> None:

0 commit comments

Comments
 (0)