Dismiss the list of a combo box without changing the selection when

the user presses Escape.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31157 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Wolfgang Lux 2010-08-15 20:12:55 +00:00
parent 7a770b1402
commit 20aeb6e85f
2 changed files with 10 additions and 0 deletions

View file

@ -465,6 +465,10 @@ static GSComboWindow *gsWindow = nil;
{
[self validateSelection];
}
else if (key == 0x001b)
{
break;
}
else
{
[NSApp sendEvent: event];