mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 22:10:47 +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
417d610c39
commit
89b1a1133c
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>
|
2007-01-19 Richard Frith-Macdoanld <rfm@gnu.org>
|
||||||
|
|
||||||
* Source/NSDocument.m: fix include path (bug #18829)
|
* Source/NSDocument.m: fix include path (bug #18829)
|
||||||
|
|
||||||
2007-01-18 Adam Fedor <fedor@gnu.org>
|
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>
|
2007-01-18 Fred Kiefer <FredKiefer@gmx.de>
|
||||||
|
|
||||||
* Source/NSCell.m (-setFloatingPointFormat:left:right): Basic
|
* Source/NSCell.m (-setFloatingPointFormat:left:right:): Basic
|
||||||
implementation.
|
implementation.
|
||||||
* Source/NSCell.m (-setUpFieldEditorAttributes:,
|
* Source/NSCell.m (-setUpFieldEditorAttributes:,
|
||||||
_setupTextWithFrame:inView:editor:delegate:range:, endEditing:,
|
_setupTextWithFrame:inView:editor:delegate:range:, endEditing:,
|
||||||
|
|
|
@ -462,7 +462,7 @@ this to return nil to indicate that we have no context menu.
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
selectedIndex = [menuView highlightedItemIndex];
|
selectedIndex = [menuView highlightedItemIndex];
|
||||||
if (selectedIndex > 0)
|
if (selectedIndex >= 0)
|
||||||
{
|
{
|
||||||
[[_cell menu] performActionForItemAtIndex: selectedIndex];
|
[[_cell menu] performActionForItemAtIndex: selectedIndex];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue