mirror of
https://github.com/greenshot/greenshot
synced 2025-07-16 10:03:44 -07:00
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:
parent
431b31cc5e
commit
d0c49dc566
1 changed files with 2 additions and 5 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue