Fix previous commit.

This commit is contained in:
nick_m 2014-12-23 05:09:21 +11:00 committed by Paul Davis
parent 61315c314d
commit 0f7df2979c
1 changed files with 1 additions and 0 deletions

View File

@ -3427,6 +3427,7 @@ Editor::commit_reversible_command ()
if (_session) {
if (before.size() == 1) {
_session->add_command (new MementoCommand<SelectionMemento>(*(_selection_memento), before.front(), &_selection_memento->get_state ()));
undo_action->set_sensitive(true);
begin_selection_op_history ();
}