diff --git a/src/silx/gui/plot/actions/control.py b/src/silx/gui/plot/actions/control.py index 4ff7c91248..897c3d1412 100755 --- a/src/silx/gui/plot/actions/control.py +++ b/src/silx/gui/plot/actions/control.py @@ -331,7 +331,7 @@ def __init__(self, plot, parent=None): self.plot.sigActiveImageChanged.connect(self._updateColormap) self.plot.sigActiveScatterChanged.connect(self._updateColormap) - def setColormapDialog(self, colormapDialog): + def setColormapDialog(self, dialog): """Set a specific color dialog instead of using the default dialog.""" assert(colormapDialog is not None) if self._dialog is not None: