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