Fix for BUG-1698: the focus lost event on the editor element "font family" caused the key handling for the element (l -> line etc) to be active again, this change suppresses this.

This commit is contained in:
RKrom 2014-11-18 22:32:55 +01:00
commit cfb4711692
2 changed files with 18 additions and 14 deletions

View file

@ -156,6 +156,9 @@ namespace Greenshot.Drawing {
HideTextBox(); HideTextBox();
} else if (Selected && Status == EditStatus.DRAWING) { } else if (Selected && Status == EditStatus.DRAWING) {
ShowTextBox(); ShowTextBox();
} else if (Selected && Status == EditStatus.IDLE && _textBox.Visible) {
// Fix (workaround) for BUG-1698
_parent.KeysLocked = true;
} }
} }
if (_textBox.Visible) { if (_textBox.Visible) {

View file

@ -15,6 +15,7 @@ Changes:
Bugs Resolved: Bugs Resolved:
* BUG-1686: Shadow (drop shadow or torn edge) grows if a filter (highlight etc) is used and an element is moved around * BUG-1686: Shadow (drop shadow or torn edge) grows if a filter (highlight etc) is used and an element is moved around
* BUG-1698: Cannot enter textbox/Speechbubble lowercase text after changing font family
* BUG-1700: IE capture only works once * BUG-1700: IE capture only works once