mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 20:01:11 +00:00
* Source/NSTableView.m (-_editPreviousEditableCellBeforeRow:column:,
-_editNextEditableCellAfterRow:column:): Comment out the loop around of the last change. This leads to wrong results, when the table view isn't the only view in the window. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28383 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
fc5a042401
commit
e00133c375
2 changed files with 13 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
|||
2009-07-06 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSTableView.m (-_editPreviousEditableCellBeforeRow:column:,
|
||||
-_editNextEditableCellAfterRow:column:): Comment out the loop
|
||||
around of the last change. This leads to wrong results, when the
|
||||
table view isn't the only view in the window.
|
||||
|
||||
2009-07-06 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSView.m (-_setNeedsDisplayInRect_real:) Set the window
|
||||
|
|
|
@ -5982,6 +5982,8 @@ static BOOL selectContiguousRegion(NSTableView *self,
|
|||
}
|
||||
}
|
||||
|
||||
// Should we loop around or not?
|
||||
#if 0
|
||||
// Nothing found? Search in the rows before the current
|
||||
for (i = 0; i < row; i++)
|
||||
{
|
||||
|
@ -6010,6 +6012,7 @@ static BOOL selectContiguousRegion(NSTableView *self,
|
|||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
return NO;
|
||||
}
|
||||
|
@ -6047,6 +6050,8 @@ static BOOL selectContiguousRegion(NSTableView *self,
|
|||
}
|
||||
}
|
||||
|
||||
// Should we loop around or not?
|
||||
#if 0
|
||||
// Nothing found? Search in the rows after the current
|
||||
for (i = _numberOfRows - 1; i > row; i--)
|
||||
{
|
||||
|
@ -6075,6 +6080,7 @@ static BOOL selectContiguousRegion(NSTableView *self,
|
|||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
return NO;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue