summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/undo-history.cpp
diff options
context:
space:
mode:
authorgustav_b <gustav_b@users.sourceforge.net>2006-07-09 11:32:23 +0000
committergustav_b <gustav_b@users.sourceforge.net>2006-07-09 11:32:23 +0000
commitc631dfb4add034db59cb477843ca95bcc2986758 (patch)
treec616db1f1e294f6630734af1e237322259c09366 /src/ui/dialog/undo-history.cpp
parent* packaging/osx-app.sh: Set the svn:executable property. (diff)
downloadinkscape-c631dfb4add034db59cb477843ca95bcc2986758.tar.gz
inkscape-c631dfb4add034db59cb477843ca95bcc2986758.zip
Added descriptions to Undo/Redo commands in the menus
(bzr r1379)
Diffstat (limited to 'src/ui/dialog/undo-history.cpp')
-rw-r--r--src/ui/dialog/undo-history.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ui/dialog/undo-history.cpp b/src/ui/dialog/undo-history.cpp
index 13f6bff26..e1b60f315 100644
--- a/src/ui/dialog/undo-history.cpp
+++ b/src/ui/dialog/undo-history.cpp
@@ -175,7 +175,7 @@ UndoHistory::_onListSelectionChange()
EventLog::const_iterator selected = _event_list_selection->get_selected();
/* If no event is selected in the view, find the right one and select it. This happens whenever
- * a branch we're currently in is collapsed.
+ * a branch we're currently in is collapsed.
*/
if (!selected) {
@@ -239,6 +239,7 @@ UndoHistory::_onListSelectionChange()
}
}
_event_log->blockNotifications(false);
+ _event_log->updateUndoVerbs();
} else { // An event after the current one has been selected. Redo to the selected event.
@@ -267,6 +268,7 @@ UndoHistory::_onListSelectionChange()
}
_event_log->setCurrEvent(selected);
+ _event_log->updateUndoVerbs();
}
}