Skip to content

Commit

Permalink
When removing (or adding) an entry in the combined host file, the con…
Browse files Browse the repository at this point in the history
…tents should update.

Fixes #5.
  • Loading branch information
jvanoostveen committed Feb 10, 2014
1 parent d753c56 commit 59b6eb0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/CombinedHostsPredicateController.m
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,11 @@ - (void)awakeFromNib

- (IBAction)predicateEditorChanged:(id)sender
{
[self updateHostsFileContents];

NSInteger newRowCount = [predicateEditor numberOfRows];

if (newRowCount == rowCount) {
[self updateHostsFileContents];
return;
}

Expand Down

0 comments on commit 59b6eb0

Please sign in to comment.