Browse Source

Tab key forwarding change.

tags/2021-05-28
jules 13 years ago
parent
commit
f0ddb858fc
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      modules/juce_gui_basics/windows/juce_ComponentPeer.cpp

+ 3
- 1
modules/juce_gui_basics/windows/juce_ComponentPeer.cpp View File

@@ -187,7 +187,9 @@ bool ComponentPeer::handleKeyPress (const int keyCode, const juce_wchar textChar
{
currentlyFocused->moveKeyboardFocusToSibling (isTab);
keyWasUsed = (currentlyFocused != Component::getCurrentlyFocusedComponent());
break;
if (keyWasUsed || deletionChecker == nullptr)
break;
}
}
}


Loading…
Cancel
Save