allow editing of any row in selecion, not just last selected one.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@38848 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Paul Landers 2015-07-30 18:30:35 +00:00
parent 54d9663829
commit e72f28bd58

View file

@ -3414,7 +3414,7 @@ byExtendingSelection: (BOOL)flag
flag = YES;
}
if (rowIndex != _selectedRow)
if (![_selectedRows containsIndex:rowIndex])
{
[NSException raise:NSInvalidArgumentException
format:@"Attempted to edit unselected row"];