Follow-up Comment #2, bug #25612 (project gnustep):

I wasn't aware of this bug before I made the following change...

I have added code to NSMatrix.m's method:

- (void) _selectCell: (NSCell *)aCell atRow: (int)row column: (int)column

This should prevent our attempting to set the value as such:

  _selectedCells[_selectedRow][_selectedColumn] = NO;

when _selectedRow and _selectedColumn are -1.  The code is here at line
1188:
          
-->       if (_mode == NSRadioModeMatrix && _selectedRow > -1 &&
_selectedColumn > -1)
            {

It is the similar to the code at line 1034:

  if (_mode == NSRadioModeMatrix)
    {
      if (value)
        {
-->       if (_selectedRow > -1 && _selectedColumn > -1)
            {

Please take a look at the code and let me know if there's a problem.  I will
also look at nib loading to see if there's a problem there.

Thanks, GC

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?25612>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



_______________________________________________
Bug-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to