From d637efbb70459f7280cef28cc97377c8d6069300 Mon Sep 17 00:00:00 2001 From: Robin Krom Date: Mon, 22 Mar 2021 00:09:16 +0100 Subject: [PATCH] BUG-2748 and fixed #295 - Do not remove the default constructor on a destination... --- Greenshot/Destinations/EditorDestination.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Greenshot/Destinations/EditorDestination.cs b/Greenshot/Destinations/EditorDestination.cs index dda45ed37..220359238 100644 --- a/Greenshot/Destinations/EditorDestination.cs +++ b/Greenshot/Destinations/EditorDestination.cs @@ -40,6 +40,11 @@ namespace Greenshot.Destinations { private readonly IImageEditor editor; private static readonly Image greenshotIcon = GreenshotResources.GetGreenshotIcon().ToBitmap(); + public EditorDestination() + { + // Do not remove, is needed for the framework + } + public EditorDestination(IImageEditor editor) { this.editor = editor; }