Usability improvement: Make color and font panels key only when

necessary. Avoids annoying and unnecessary focus shifts when changing
colors or fonts.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29681 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Wolfgang Lux 2010-02-20 00:20:30 +00:00
parent 9d425f4eea
commit 61187ead14
6 changed files with 33 additions and 2 deletions

View file

@ -1494,7 +1494,7 @@ to make sure syncing is handled properly in all cases.
- (BOOL) needsPanelToBecomeKey
{
return _tf.is_editable;
return _tf.is_editable || _tf.is_selectable;
}
- (BOOL) acceptsFirstResponder