From daf6a9d30754e1b23b47cfa6d236bc59ae41679e Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Fri, 21 Dec 2018 17:14:44 -0500 Subject: [PATCH] Proper dark mode for group rules sheet --- macosx/GroupsPrefsController.m | 3 +-- macosx/en.lproj/GroupRules.xib | 14 +++++++------- 2 files changed, 8 insertions(+), 9 deletions(-) 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 - + -