Skip to content

Commit

Permalink
remove unused __state
Browse files Browse the repository at this point in the history
  • Loading branch information
t20100 committed Jul 10, 2023
1 parent eed9c29 commit bbe5a47
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/silx/gui/plot/actions/control.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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)
Expand Down

0 comments on commit bbe5a47

Please sign in to comment.