BUG-2748 and fixed #295 - Do not remove the default constructor on a destination...

This commit is contained in:
Robin Krom 2021-03-22 00:09:16 +01:00
commit d637efbb70
No known key found for this signature in database
GPG key ID: BCC01364F1371490

View file

@ -40,6 +40,11 @@ namespace Greenshot.Destinations {
private readonly IImageEditor editor; private readonly IImageEditor editor;
private static readonly Image greenshotIcon = GreenshotResources.GetGreenshotIcon().ToBitmap(); private static readonly Image greenshotIcon = GreenshotResources.GetGreenshotIcon().ToBitmap();
public EditorDestination()
{
// Do not remove, is needed for the framework
}
public EditorDestination(IImageEditor editor) { public EditorDestination(IImageEditor editor) {
this.editor = editor; this.editor = editor;
} }