mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 00:41:05 +00:00
* Source/GSNibLoading.m: use the new code committed to NSMenu to
lay out the menu when vertical. Get rid of the duplicate code here. * Source/NSDrawer.m: set the child window position when opening. * Source/NSMatrix.m: -_selectCell:atRow:column: Check to make sure the selectedRow and selectedColumn are > -1. This check is done elsewhere and was not done here. This was causing a crash. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27907 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
28395a95e3
commit
9aba3bc91f
4 changed files with 19 additions and 116 deletions
|
@ -1185,7 +1185,7 @@ static SEL getSel;
|
|||
|
||||
if (_selectedCell && _selectedCell != aCell)
|
||||
{
|
||||
if (_mode == NSRadioModeMatrix)
|
||||
if (_mode == NSRadioModeMatrix && _selectedRow > -1 && _selectedColumn > -1)
|
||||
{
|
||||
_selectedCells[_selectedRow][_selectedColumn] = NO;
|
||||
[_selectedCell setState: NSOffState];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue