mirror of
https://github.com/arsenetar/dupeguru.git
synced 2025-03-09 21:24:36 +00:00
[#202 state:fixed] [#203 state:fixed] Made results table column read-only (they were mistakenly editable) and fixed the column ID edited by the Rename Selected action.
This commit is contained in:
parent
9e7d27dcda
commit
977fb606eb
@ -37,6 +37,7 @@ http://www.hardcoded.net/licenses/bsd_license
|
||||
problemDialog = [[ProblemDialog alloc] initWithPyRef:[model problemDialog]];
|
||||
deletionOptions = [[DeletionOptions alloc] initWithPyRef:[model deletionOptions]];
|
||||
[self initResultColumns];
|
||||
[[table columns] setColumnsAsReadOnly];
|
||||
[self fillColumnsMenu];
|
||||
[matches setTarget:self];
|
||||
[matches setDoubleAction:@selector(openClicked)];
|
||||
@ -232,7 +233,7 @@ http://www.hardcoded.net/licenses/bsd_license
|
||||
|
||||
- (void)renameSelected
|
||||
{
|
||||
NSInteger col = [matches columnWithIdentifier:@"0"];
|
||||
NSInteger col = [matches columnWithIdentifier:@"name"];
|
||||
NSInteger row = [matches selectedRow];
|
||||
[matches editColumn:col row:row withEvent:[NSApp currentEvent] select:YES];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user