1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-02 03:20:06 +00:00

Restored previous behaviour of Label::focusGained() to just show editor on tab focus change

This commit is contained in:
ed 2021-06-16 17:17:44 +01:00
parent 3f914b667e
commit 94fb4a20e3

View file

@ -374,8 +374,7 @@ void Label::focusGained (FocusChangeType cause)
{
if (editSingleClick
&& isEnabled()
&& (cause == focusChangedByTabKey
|| (cause == focusChangedDirectly && ! isCurrentlyModal())))
&& cause == focusChangedByTabKey)
{
showEditor();
}