summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--macosx/HBSummaryViewController.m5
1 files changed, 3 insertions, 2 deletions
diff --git a/macosx/HBSummaryViewController.m b/macosx/HBSummaryViewController.m
index 5778a39e1..63fb45957 100644
--- a/macosx/HBSummaryViewController.m
+++ b/macosx/HBSummaryViewController.m
@@ -45,16 +45,17 @@
- (void)setJob:(HBJob *)job
{
- _job = job;
if (job)
{
+ _job = job;
[self addJobObservers];
[self updateLabels];
}
else
{
- [self resetLabels];
[self removeJobObservers];
+ [self resetLabels];
+ _job = job;
}
}