From 8014199bb694eb8c4c0dddf9185820ece926974d Mon Sep 17 00:00:00 2001 From: Robin Krom Date: Tue, 22 Mar 2022 11:32:30 +0100 Subject: [PATCH] Fix for #390 by limiting the length of the displayed title. --- src/Greenshot.Editor/Destinations/EditorDestination.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Greenshot.Editor/Destinations/EditorDestination.cs b/src/Greenshot.Editor/Destinations/EditorDestination.cs index 326397ec9..bfc143d88 100644 --- a/src/Greenshot.Editor/Destinations/EditorDestination.cs +++ b/src/Greenshot.Editor/Destinations/EditorDestination.cs @@ -64,7 +64,7 @@ namespace Greenshot.Editor.Destinations return Language.GetString(LangKey.settings_destination_editor); } - return Language.GetString(LangKey.settings_destination_editor) + " - " + editor.CaptureDetails.Title; + return Language.GetString(LangKey.settings_destination_editor) + " - " + editor.CaptureDetails.Title?.Substring(0, Math.Min(20, editor.CaptureDetails.Title.Length)); } }