diff options
author | Damiano Galassi <[email protected]> | 2016-12-20 10:34:39 +0100 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2016-12-20 10:34:39 +0100 |
commit | 4e1392a6cdc22bbb3b61bbd24ab4ef42c92c7a31 (patch) | |
tree | 833c213bd3eaf82f9796e1b5649dc3f9e7d7c3da | |
parent | 72e77efa1c309be6a5e525a9484ec131707af848 (diff) |
MacGui: restore the NSGraphicsContext after it has been used.
-rw-r--r-- | macosx/HBToolbarBadgedItem.m | 2 |
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]; } |