mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-02-24 03:51:22 +00:00
Correction for bug#13754.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21529 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b1b9a402d5
commit
8fbffd384b
4 changed files with 16 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2005-07-24 16:31 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* GormCore/GormClassEditor.m: Call selectRow: method.
|
||||
* GormCore/GormOutlineView.[hm]: Added new selectRow: method.
|
||||
Corrects bug#13754.
|
||||
|
||||
2005-07-24 12:29 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* Gorm.m: Eliminated [Gorm finishLaunching] and moved default
|
||||
|
|
|
@ -1022,6 +1022,7 @@ objectValueForTableColumn: (NSTableColumn *)aTableColumn
|
|||
|
||||
// scroll to the item..
|
||||
[gov scrollRowToVisible: row];
|
||||
[gov selectRow: row];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -64,6 +64,7 @@ typedef enum {None, Outlets, Actions} GSAttributeType;
|
|||
- (GSAttributeType)editType;
|
||||
- (void) removeItemAtRow: (int)row;
|
||||
- (void) reset;
|
||||
- (void) selectRow: (int)rowIndex;
|
||||
@end /* interface of GormOutlineView */
|
||||
|
||||
// informal protocol to define necessary methods on
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
#include <Foundation/NSNull.h>
|
||||
#include <Foundation/NSException.h>
|
||||
#include <Foundation/NSDebug.h>
|
||||
#include <Foundation/NSIndexSet.h>
|
||||
#include <AppKit/NSTableColumn.h>
|
||||
#include <AppKit/NSCell.h>
|
||||
#include <AppKit/NSEvent.h>
|
||||
|
@ -809,5 +810,12 @@ static NSColor *darkGreyBlueColor = nil;
|
|||
}
|
||||
return;
|
||||
}
|
||||
|
||||
- (void) selectRow: (int)rowIndex
|
||||
{
|
||||
[self setNeedsDisplayInRect: [self rectOfRow: rowIndex]];
|
||||
[_selectedRows addIndex: rowIndex];
|
||||
_selectedRow = rowIndex;
|
||||
}
|
||||
@end /* implementation of GormOutlineView */
|
||||
|
||||
|
|
Loading…
Reference in a new issue