mirror of
https://github.com/transmission/transmission
synced 2025-02-22 06:00:41 +00:00
#1661 show group rules for the proper group
This commit is contained in:
parent
3ff145f058
commit
28ce3a64e8
1 changed files with 2 additions and 1 deletions
|
@ -255,7 +255,8 @@
|
|||
if (!fGroupRulesSheetWindow)
|
||||
[NSBundle loadNibNamed: @"GroupRules" owner: self];
|
||||
|
||||
NSPredicate *predicate = [[GroupsController groups] autoAssignRulesForIndex: [fTableView selectedRow]];
|
||||
NSInteger index = [[GroupsController groups] indexForRow: [fTableView selectedRow]];
|
||||
NSPredicate *predicate = [[GroupsController groups] autoAssignRulesForIndex: index];
|
||||
[fRuleEditor setObjectValue: predicate];
|
||||
|
||||
if ([fRuleEditor numberOfRows] == 0)
|
||||
|
|
Loading…
Reference in a new issue