* GormWindowEditor.m ([GormWindowEditor -_editTextView:withEvent:]):

return if mouse not on cell.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@10326 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Mirko Viviani 2001-07-08 21:23:34 +00:00
parent 9617ac3af8
commit a365a11e62
2 changed files with 7 additions and 5 deletions

View file

@ -1,3 +1,8 @@
2001-07-08 Mirko Viviani <mirko.viviani@rccr.cremona.it>
* GormWindowEditor.m ([GormWindowEditor -_editTextView:withEvent:]):
return if mouse not on cell.
2001-07-07 Richard Frith-Macdonald <rfm@gnu.org> 2001-07-07 Richard Frith-Macdonald <rfm@gnu.org>
Gomr.m: Fixed typo in info panel and updated a little. Gomr.m: Fixed typo in info panel and updated a little.

View file

@ -225,11 +225,8 @@ static BOOL done_editing;
fromView: nil]; fromView: nil];
point = [view convertPoint: point fromView: edit_view]; point = [view convertPoint: point fromView: edit_view];
if ([(NSForm *)view getRow: &row column: &col forPoint: point] == NO) if ([(NSForm *)view getRow: &row column: &col forPoint: point] == NO)
{ return;
NSLog(@"Internal Error: Could not get field entry to edit");
row = 0;
col = 0;
}
editCell = [(NSForm *)view cellAtRow: row column: col]; editCell = [(NSForm *)view cellAtRow: row column: col];
frame = [(NSForm *)view cellFrameAtRow: row column: col]; frame = [(NSForm *)view cellFrameAtRow: row column: col];
frame.origin.x += NSMinX([view frame]); frame.origin.x += NSMinX([view frame]);