mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-29 22:47:39 +00:00
Fix bug in -setState:atRow:column: where the old selected cell wasn't
properly deselected when the matrix's mode is NSRadioMatrixMode. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31721 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
efd0bc2248
commit
51823d2d82
2 changed files with 10 additions and 0 deletions
|
@ -1040,6 +1040,10 @@ static SEL getSel;
|
|||
if (_selectedRow > -1 && _selectedColumn > -1)
|
||||
{
|
||||
_selectedCells[_selectedRow][_selectedColumn] = NO;
|
||||
[_selectedCell setState: NSOffState];
|
||||
[self setNeedsDisplayInRect:
|
||||
[self cellFrameAtRow: _selectedRow
|
||||
column: _selectedColumn]];
|
||||
}
|
||||
|
||||
_selectedCell = aCell;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue