mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 12:00:52 +00:00
Handle the keyboard selection of first entry in popup. Patch by Phillipe
Roussel <p.o.roussel@free.fr> git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24386 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
30fd0153be
commit
8abc5f845a
2 changed files with 9 additions and 3 deletions
10
ChangeLog
10
ChangeLog
|
@ -1,14 +1,20 @@
|
|||
2007-01-19 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSPopUpButton.m (-keyDown:): Handle selection of first
|
||||
entry correctly. Patch by Phillipe Roussel <p.o.roussel@free.fr>
|
||||
|
||||
2007-01-19 Richard Frith-Macdoanld <rfm@gnu.org>
|
||||
|
||||
* Source/NSDocument.m: fix include path (bug #18829)
|
||||
|
||||
2007-01-18 Adam Fedor <fedor@gnu.org>
|
||||
|
||||
* Source/NSBitmapImageRep+PNM.m ([NSBitmapImageRep -_initBitmapFromPNM:errorMessage:]): Check for invalid image size.
|
||||
* Source/NSBitmapImageRep+PNM.m ([NSBitmapImageRep
|
||||
-_initBitmapFromPNM:errorMessage:]): Check for invalid image size.
|
||||
|
||||
2007-01-18 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSCell.m (-setFloatingPointFormat:left:right): Basic
|
||||
* Source/NSCell.m (-setFloatingPointFormat:left:right:): Basic
|
||||
implementation.
|
||||
* Source/NSCell.m (-setUpFieldEditorAttributes:,
|
||||
_setupTextWithFrame:inView:editor:delegate:range:, endEditing:,
|
||||
|
|
|
@ -462,7 +462,7 @@ this to return nil to indicate that we have no context menu.
|
|||
else
|
||||
{
|
||||
selectedIndex = [menuView highlightedItemIndex];
|
||||
if (selectedIndex > 0)
|
||||
if (selectedIndex >= 0)
|
||||
{
|
||||
[[_cell menu] performActionForItemAtIndex: selectedIndex];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue