ensure that the undo button is enabled after crop, especially when confirming with Enter

This commit is contained in:
Christian Schulz 2022-03-04 23:35:16 +01:00
commit 84f9984334

View file

@ -2139,6 +2139,12 @@ namespace Greenshot.Editor.Drawing
_cropContainer = null;
break;
}
// maybe the undo button has to be enabled
if (_movingElementChanged != null)
{
_movingElementChanged(this, new SurfaceElementEventArgs());
}
}
public void RemoveCropContainer()