Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Src/xWorks/DTMenuHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -651,6 +651,11 @@ private void MoveSlot(IMoInflAffixSlot slot, IPartOfSpeech selectedPOS)
}
private void MoveTemplate(IMoInflAffixTemplate template, IPartOfSpeech selectedPOS)
{
if (template.Owner == selectedPOS)
{
// Don't move the template to selectedPOS if it is already there.
return;
}
UndoableUnitOfWorkHelper.DoUsingNewOrCurrentUOW("Undo Move Template",
"Redo Move Template", Cache.ActionHandlerAccessor, () =>
{
Expand Down
Loading