MCPcopy Create free account
hub / github.com/LibreSprite/LibreSprite / nextUndoLabel

Method nextUndoLabel

src/app/document_undo.cpp:98–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96}
97
98std::string DocumentUndo::nextUndoLabel() const
99{
100 const undo::UndoState* state = nextUndo();
101 if (state)
102 return static_cast<Cmd*>(state->cmd())->label();
103 else
104 return "";
105}
106
107std::string DocumentUndo::nextRedoLabel() const
108{

Callers 1

onExecuteMethod · 0.80

Calls 1

labelMethod · 0.45

Tested by

no test coverage detected