diff --git a/src/silx/gui/plot/actions/control.py b/src/silx/gui/plot/actions/control.py index 733149de98..0fdfc932bd 100755 --- a/src/silx/gui/plot/actions/control.py +++ b/src/silx/gui/plot/actions/control.py @@ -639,7 +639,6 @@ def __init__(self, plot, parent=None): } name = self._getBackendName(plot) - self.__state = name icon, tooltip = self._states[name] super(OpenGLAction, self).__init__( plot, @@ -653,7 +652,6 @@ def __init__(self, plot, parent=None): def _backendUpdated(self): name = self._getBackendName(self.plot) - self.__state = name icon, tooltip = self._states[name] self.setIcon(icon) self.setToolTip(tooltip)