MCPcopy Create free account
hub / github.com/Tablecruncher/tablecruncher / setUndoSaveState

Method setUndoSaveState

src/csvwindow.cpp:869–874  ·  view source on GitHub ↗

* Sets undoSaveState to the ID of the most recent undo state */

Source from the content-addressed store, hash-verified

867 * Sets undoSaveState to the ID of the most recent undo state
868 */
869void CsvWindow::setUndoSaveState() {
870 if( !undoList.empty() ) {
871 CsvUndo ustate = undoList.back();
872 undoSaveState = ustate.getId();
873 }
874}
875
876
877

Callers 1

saveFileMethod · 0.80

Calls 1

getIdMethod · 0.80

Tested by

no test coverage detected