Skip to content

Commit

Permalink
Merge pull request #16 from jvanoostveen/removing_entry_from_combined…
Browse files Browse the repository at this point in the history
…_host_file

When removing (or adding) an entry in the combined host file, the contents should update.
  • Loading branch information
2ndalpha committed Feb 10, 2014
2 parents d753c56 + 59b6eb0 commit 9cae0c5
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 9cae0c5

Please sign in to comment.