MCPcopy Create free account
hub / github.com/bhowiebkr/PyFlowGraph / undo_last_command

Method undo_last_command

src/core/node_graph.py:64–70  ·  view source on GitHub ↗

Undo the last command.

(self)

Source from the content-addressed store, hash-verified

62 return success
63
64 def undo_last_command(self):
65 """Undo the last command."""
66 description = self.command_history.undo()
67 if description:
68 self.commandUndone.emit(description)
69 return True
70 return False
71
72 def redo_last_command(self):
73 """Redo the last undone command."""

Calls 1

undoMethod · 0.45