mirror of
https://github.com/greenshot/greenshot
synced 2025-08-21 05:53:27 -07:00
BUG-2748 and fixed #295 - Do not remove the default constructor on a destination...
This commit is contained in:
parent
2bbaa4a9a7
commit
d637efbb70
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue