mirror of
https://github.com/greenshot/greenshot
synced 2025-08-24 07:06:23 -07:00
ensure that the undo button is enabled after crop, especially when confirming with Enter
This commit is contained in:
parent
8bc6fbdcc4
commit
84f9984334
1 changed files with 6 additions and 0 deletions
|
@ -2139,6 +2139,12 @@ namespace Greenshot.Editor.Drawing
|
||||||
_cropContainer = null;
|
_cropContainer = null;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// maybe the undo button has to be enabled
|
||||||
|
if (_movingElementChanged != null)
|
||||||
|
{
|
||||||
|
_movingElementChanged(this, new SurfaceElementEventArgs());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void RemoveCropContainer()
|
public void RemoveCropContainer()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue