mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 13:00:37 +00:00
do not allow to select all cells in radio mode
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14136 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
39738fb0b8
commit
1c275cdce2
1 changed files with 6 additions and 0 deletions
|
@ -977,6 +977,12 @@ static SEL getSel;
|
|||
{
|
||||
unsigned i, j;
|
||||
|
||||
/* Can't select all if only one can be selected. */
|
||||
if (_mode == NSRadioModeMatrix)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
_selectedCell = nil;
|
||||
_selectedRow = -1;
|
||||
_selectedColumn = -1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue