1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2026-01-22 14:41:39 +00:00

Removed logic duplication across toolkit code in "Make Reference" action.

This commit is contained in:
Virgil Dupras
2010-02-06 12:27:11 +01:00
parent f7aaea79af
commit 9edee82fa1
7 changed files with 13 additions and 16 deletions

View File

@@ -425,7 +425,6 @@ http://www.hardcoded.net/licenses/hs_license
// but after a lot of fussing around, believe it or not, it actually is.
NSInteger matchesTag = _powerMode ? 2 : 0;
NSInteger startLen = [[py getOutlineView:matchesTag childCountsForPath:[NSArray array]] count];
[self performPySelection:[self getSelectedPaths:YES]];
[py makeSelectedReference];
[self performPySelection:[self getSelectedPaths:NO]];
// In some cases (when in a filtered view in Power Marker mode, it's possible that the demoted