From f36d99ad74478da12047c0013053c2cad054a796 Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Tue, 9 Dec 2008 00:51:08 +0000 Subject: [PATCH] load the rules table before showing the group rules sheet --- macosx/GroupsPrefsController.m | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/macosx/GroupsPrefsController.m b/macosx/GroupsPrefsController.m index 7b055a61b..4792459b2 100644 --- a/macosx/GroupsPrefsController.m +++ b/macosx/GroupsPrefsController.m @@ -285,12 +285,11 @@ if ([fRuleEditor numberOfRows] == 0) [fRuleEditor addRow: nil]; + + [fRuleEditor reloadCriteria]; - [NSApp beginSheet: fGroupRulesSheetWindow - modalForWindow: [fTableView window] - modalDelegate: nil - didEndSelector: NULL - contextInfo: NULL]; + [NSApp beginSheet: fGroupRulesSheetWindow modalForWindow: [fTableView window] modalDelegate: nil didEndSelector: NULL + contextInfo: NULL]; } - (IBAction) cancelRules: (id) sender;