Minor change in undo label from selection commands

This commit is contained in:
David Capello 2014-12-13 19:26:10 -03:00
parent f66b48c698
commit 702d99af2d
3 changed files with 3 additions and 3 deletions

View File

@ -58,7 +58,7 @@ void DeselectMaskCommand::onExecute(Context* context)
ContextWriter writer(context);
Document* document(writer.document());
{
UndoTransaction undoTransaction(writer.context(), "Mask Deselection", undo::DoesntModifyDocument);
UndoTransaction undoTransaction(writer.context(), "Deselect", undo::DoesntModifyDocument);
document->getApi().deselectMask();
undoTransaction.commit();
}

View File

@ -58,7 +58,7 @@ void MaskAllCommand::onExecute(Context* context)
ContextWriter writer(context);
Document* document(writer.document());
Sprite* sprite(writer.sprite());
UndoTransaction undo(writer.context(), "Mask All", undo::DoesntModifyDocument);
UndoTransaction undo(writer.context(), "Select All", undo::DoesntModifyDocument);
// Undo
if (undo.isEnabled())

View File

@ -63,7 +63,7 @@ void ReselectMaskCommand::onExecute(Context* context)
ContextWriter writer(context);
Document* document(writer.document());
{
UndoTransaction undo(writer.context(), "Mask Reselection", undo::DoesntModifyDocument);
UndoTransaction undo(writer.context(), "Reselect", undo::DoesntModifyDocument);
if (undo.isEnabled())
undo.pushUndoer(new undoers::SetMask(undo.getObjects(), document));