From: Mitchell Livingston Date: Fri, 21 Dec 2018 22:14:44 +0000 (-0500) Subject: Proper dark mode for group rules sheet X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=daf6a9d30754e1b23b47cfa6d236bc59ae41679e;p=transmission Proper dark mode for group rules sheet --- diff --git a/macosx/GroupsPrefsController.m b/macosx/GroupsPrefsController.m index d5a68bebf..f48b188ba 100644 --- a/macosx/GroupsPrefsController.m +++ b/macosx/GroupsPrefsController.m @@ -274,8 +274,7 @@ if ([self.ruleEditor numberOfRows] == 0) [self.ruleEditor addRow: nil]; - [NSApp beginSheet: self.groupRulesSheetWindow modalForWindow: [fTableView window] modalDelegate: nil didEndSelector: NULL - contextInfo: NULL]; + [fTableView.window beginSheet:self.groupRulesSheetWindow completionHandler:nil]; } - (IBAction) cancelRules: (id) sender diff --git a/macosx/en.lproj/GroupRules.xib b/macosx/en.lproj/GroupRules.xib index 88926d290..4d325ff91 100644 --- a/macosx/en.lproj/GroupRules.xib +++ b/macosx/en.lproj/GroupRules.xib @@ -1,8 +1,8 @@ - + - + @@ -15,11 +15,11 @@ - + - + @@ -185,17 +185,17 @@ Gw - + -