Cleanup of logic, had duplicate code.

git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1987 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
RKrom 2012-08-14 12:48:30 +00:00
parent 431b31cc5e
commit d0c49dc566

View file

@ -107,12 +107,9 @@ namespace GreenshotPlugin.Core {
ToolStripSeparator separator = new ToolStripSeparator();
separator.Size = new Size(305, 6);
contextMenu.Items.Insert(i, separator);
contextMenu.Items.Insert(i+1, item);
addedItem = true;
} else {
contextMenu.Items.Insert(i+1, item);
addedItem = true;
}
contextMenu.Items.Insert(i + 1, item);
addedItem = true;
break;
}
}