From e196ada102ba1d92c2bafa55a2e8742ac19066e1 Mon Sep 17 00:00:00 2001 From: Marcin Date: Fri, 29 Nov 2019 09:52:54 +0100 Subject: [PATCH] =?UTF-8?q?Fixing=20textbox=20issue=20with=20polish=20lett?= =?UTF-8?q?er=20=C4=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixing issue in textbox when typing ALTGR+A (polish letter ą) raised in threads BUG-2288, BUG-2474. --- src/Greenshot.Addon.LegacyEditor/Drawing/TextContainer.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Greenshot.Addon.LegacyEditor/Drawing/TextContainer.cs b/src/Greenshot.Addon.LegacyEditor/Drawing/TextContainer.cs index e11fdbeb0..43ad4e50a 100644 --- a/src/Greenshot.Addon.LegacyEditor/Drawing/TextContainer.cs +++ b/src/Greenshot.Addon.LegacyEditor/Drawing/TextContainer.cs @@ -495,8 +495,7 @@ namespace Greenshot.Addon.LegacyEditor.Drawing HideTextBox(); e.SuppressKeyPress = true; } - - if (e.Control && e.KeyCode == Keys.A) + if (e.Control && !e.Alt && e.KeyCode == Keys.A) { _textBox.SelectAll(); }