Fixed issues with the enum label losing it's number, fixed this... almost. Do not change the z-Order of the label.

This commit is contained in:
RKrom 2014-06-11 23:27:13 +02:00
parent efd144ad0d
commit 87406d90da
3 changed files with 20 additions and 5 deletions

View file

@ -633,7 +633,7 @@ namespace Greenshot.Drawing {
public virtual void HandleMouseUp(int x, int y) {
}
private void SwitchParent(Surface newParent) {
protected virtual void SwitchParent(Surface newParent) {
if (_parent != null && _grippers != null) {
for (int i=0; i<_grippers.Length; i++) {
_parent.Controls.Remove(_grippers[i]);