mirror of
https://github.com/arsenetar/dupeguru.git
synced 2025-03-10 05:34:36 +00:00
Fixed column reloading which was broken since the mark-->marked rename.
This commit is contained in:
parent
e8f92535d3
commit
b182585d46
@ -107,12 +107,13 @@ http://www.hardcoded.net/licenses/hs_license
|
||||
}
|
||||
//Add columns and set widths
|
||||
for (NSString *colId in aColumnsOrder) {
|
||||
if ([colId isEqual:@"marked"]) {
|
||||
NSInteger colIndex = [colId integerValue];
|
||||
if ((colIndex == 0) && (![colId isEqual:@"0"])) {
|
||||
continue;
|
||||
}
|
||||
NSTableColumn *col = [_resultColumns objectAtIndex:[colId intValue]];
|
||||
NSTableColumn *col = [_resultColumns objectAtIndex:colIndex];
|
||||
NSNumber *width = [aColumnsWidth objectForKey:[col identifier]];
|
||||
NSMenuItem *mi = [columnsMenu itemWithTag:[colId intValue]];
|
||||
NSMenuItem *mi = [columnsMenu itemWithTag:colIndex];
|
||||
if (width) {
|
||||
[col setWidth:[width floatValue]];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user