mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 15:11:37 +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
|
@ -1,3 +1,9 @@
|
|||
2010-08-15 Wolfgang Lux <wolfgang.lux@gmail.com>
|
||||
|
||||
* Source/NSComboBoxCell.m (-runLoopWithComboBoxCell:): Dismiss
|
||||
the combo box's list without changing the selection when the user
|
||||
presses Escape.
|
||||
|
||||
2010-08-13 Riccardo Mottola
|
||||
|
||||
* Source/NSMatrix.m
|
||||
|
|
|
@ -465,6 +465,10 @@ static GSComboWindow *gsWindow = nil;
|
|||
{
|
||||
[self validateSelection];
|
||||
}
|
||||
else if (key == 0x001b)
|
||||
{
|
||||
break;
|
||||
}
|
||||
else
|
||||
{
|
||||
[NSApp sendEvent: event];
|
||||
|
|
Loading…
Reference in a new issue