MCPcopy Create free account
hub / github.com/Kitware/ParaView / undo

Method undo

Qt/Python/pqPythonUndoCommand.cxx:49–54  ·  view source on GitHub ↗

-----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

47
48//-----------------------------------------------------------------------------
49void pqPythonUndoCommand::undo()
50{
51 this->swapImpl(this->LastHistoryEntry);
52 this->TextLastHystoryEntry = this->LastHistoryEntry;
53 this->Text.document()->setModified(true);
54}
55
56//-----------------------------------------------------------------------------
57void pqPythonUndoCommand::redo()

Callers 1

eventFilterMethod · 0.45

Calls 2

swapImplMethod · 0.95
setModifiedMethod · 0.80

Tested by

no test coverage detected