mirror of
https://github.com/arsenetar/dupeguru.git
synced 2026-01-22 14:41:39 +00:00
Made marking changes much faster and also made data fetching lazy in dupe nodes.
This commit is contained in:
@@ -29,13 +29,6 @@ http://www.hardcoded.net/licenses/hs_license
|
||||
return (PyResultTree *)py;
|
||||
}
|
||||
|
||||
/* Override */
|
||||
- (void)refresh
|
||||
{
|
||||
[super refresh];
|
||||
[outlineView expandItem:nil expandChildren:YES];
|
||||
}
|
||||
|
||||
/* Public */
|
||||
- (BOOL)powerMarkerMode
|
||||
{
|
||||
@@ -128,4 +121,19 @@ http://www.hardcoded.net/licenses/hs_license
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Python --> Cocoa */
|
||||
- (void)refresh /* Override */
|
||||
{
|
||||
[super refresh];
|
||||
[outlineView expandItem:nil expandChildren:YES];
|
||||
}
|
||||
|
||||
- (void)invalidateMarkings
|
||||
{
|
||||
for (NSMutableDictionary *props in [itemData objectEnumerator]) {
|
||||
[props removeObjectForKey:@"marked"];
|
||||
}
|
||||
[outlineView setNeedsDisplay:YES];
|
||||
}
|
||||
@end
|
||||
Reference in New Issue
Block a user