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:
nico 2002-07-12 09:54:13 +00:00
parent 39738fb0b8
commit 1c275cdce2

View file

@ -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;