mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-24 15:02:19 +00:00
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:
parent
7a770b1402
commit
20aeb6e85f
2 changed files with 10 additions and 0 deletions
|
@ -465,6 +465,10 @@ static GSComboWindow *gsWindow = nil;
|
|||
{
|
||||
[self validateSelection];
|
||||
}
|
||||
else if (key == 0x001b)
|
||||
{
|
||||
break;
|
||||
}
|
||||
else
|
||||
{
|
||||
[NSApp sendEvent: event];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue