Author: paullanders
Date: Thu Jul 30 20:30:35 2015
New Revision: 38848

URL: http://svn.gna.org/viewcvs/gnustep?rev=38848&view=rev
Log:
allow editing of any row in selecion, not just last selected one.

Modified:
    libs/gui/branches/gnustep_testplant_branch/Source/NSTableView.m

Modified: libs/gui/branches/gnustep_testplant_branch/Source/NSTableView.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/gui/branches/gnustep_testplant_branch/Source/NSTableView.m?rev=38848&r1=38847&r2=38848&view=diff
==============================================================================
--- libs/gui/branches/gnustep_testplant_branch/Source/NSTableView.m     
(original)
+++ libs/gui/branches/gnustep_testplant_branch/Source/NSTableView.m     Thu Jul 
30 20:30:35 2015
@@ -3414,7 +3414,7 @@
       flag = YES;
     }
   
-  if (rowIndex != _selectedRow)
+  if (![_selectedRows containsIndex:rowIndex])
     {
       [NSException raise:NSInvalidArgumentException
              format:@"Attempted to edit unselected row"];


_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs

Reply via email to