Fix error in redo code

This commit is contained in:
2017-04-12 02:03:38 -04:00
parent c9e265ca62
commit 73f49725b4

View File

@@ -45,7 +45,7 @@ std::string cUndoList::undoName() const {
std::string cUndoList::redoName() const {
if(noRedo()) return "";
auto next = std::next(cur);
auto next = std::prev(cur);
return (*next)->getActionName();
}