Skip to content

Commit

Permalink
Fixed a log error, and made the ClipboardHotkey optional.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lakritzator committed Jun 30, 2022
1 parent bfa8e24 commit 2b5e45e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Greenshot.Base/Core/ClipboardHelper.cs
Expand Up @@ -520,7 +520,7 @@ public static IEnumerable<Bitmap> GetImages(IDataObject dataObject)
Bitmap singleImage = GetImage(dataObject);
if (singleImage != null)
{
Log.InfoFormat($"Got {singleImage.GetType()} from clipboard with size {singleImage.Size}");
Log.Info($"Got {singleImage.GetType()} from clipboard with size {singleImage.Size}");
yield return singleImage;
yield break;
}
Expand Down
2 changes: 1 addition & 1 deletion src/Greenshot.Base/Core/CoreConfiguration.cs
Expand Up @@ -59,7 +59,7 @@ public class CoreConfiguration : IniSection, INotifyPropertyChanged
[IniProperty("IEHotkey", Description = "Hotkey for starting the IE capture", DefaultValue = "Shift + Ctrl + PrintScreen")]
public string IEHotkey { get; set; }

[IniProperty("ClipboardHotkey", Description = "Hotkey for opening the clipboard contents into the editor")]
[IniProperty("ClipboardHotkey", Description = "Hotkey for opening the clipboard contents into the editor", ExcludeIfNull = true)]
public string ClipboardHotkey { get; set; }

[IniProperty("IsFirstLaunch", Description = "Is this the first time launch?", DefaultValue = "true")]
Expand Down

0 comments on commit 2b5e45e

Please sign in to comment.