MCPcopy Index your code
hub / github.com/pyfa-org/Pyfa / refreshUndo

Method refreshUndo

gui/mainMenuBar.py:208–215  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

206 event.Skip()
207
208 def refreshUndo(self):
209 command = self.mainFrame.command
210 self.Enable(wx.ID_UNDO, False)
211 self.Enable(wx.ID_REDO, False)
212 if command.CanUndo():
213 self.Enable(wx.ID_UNDO, True)
214 if command.CanRedo():
215 self.Enable(wx.ID_REDO, True)

Callers 2

fitChangedMethod · 0.95
fitRenamedMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected