summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--macosx/HBToolbarBadgedItem.m2
1 files changed, 2 insertions, 0 deletions
diff --git a/macosx/HBToolbarBadgedItem.m b/macosx/HBToolbarBadgedItem.m
index f87e523f8..dd91d9be6 100644
--- a/macosx/HBToolbarBadgedItem.m
+++ b/macosx/HBToolbarBadgedItem.m
@@ -207,6 +207,8 @@
CGContextFlush(context);
CGContextRestoreGState(context);
+ [NSGraphicsContext restoreGraphicsState];
+
[newImage addRepresentation:newRep];
}