aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPPrintAccessory.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPPrintAccessory.m')
-rw-r--r--Source/SPPrintAccessory.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/SPPrintAccessory.m b/Source/SPPrintAccessory.m
index 4128e8ad..93c7ce4e 100644
--- a/Source/SPPrintAccessory.m
+++ b/Source/SPPrintAccessory.m
@@ -12,6 +12,7 @@
- (void)awakeFromNib
{
[self setView:printAccessoryView];
+ [[WebPreferences standardPreferences] setShouldPrintBackgrounds:[[defaultsController valueForKeyPath:@"values.PrintBackground"] boolValue] ];
[defaultsController addObserver:self forKeyPath:@"values.PrintBackground" options:NSKeyValueObservingOptionNew context:@"PrinterSettingsChanged"];
}