diff options
author | avenjamin <avenjamin@gmail.com> | 2009-06-29 09:19:35 +0000 |
---|---|---|
committer | avenjamin <avenjamin@gmail.com> | 2009-06-29 09:19:35 +0000 |
commit | 4124ae61f618bd22a9beb7f41717c3718ea2170e (patch) | |
tree | 24be3082da5ca1d55f5cc3fda77f0728ff7f99d9 /Frameworks/BWToolkitFramework.framework | |
parent | c7843fd69a05bf5f13b88bc4588c1105cd2cc411 (diff) | |
download | sequelpro-4124ae61f618bd22a9beb7f41717c3718ea2170e.tar.gz sequelpro-4124ae61f618bd22a9beb7f41717c3718ea2170e.tar.bz2 sequelpro-4124ae61f618bd22a9beb7f41717c3718ea2170e.zip |
- Make SSHQuestionDialog and printAccessory XIB's localizable
- Fix UI glitch where some BWAnchoredButtonCells would lose their image.
Diffstat (limited to 'Frameworks/BWToolkitFramework.framework')
-rw-r--r-- | Frameworks/BWToolkitFramework.framework/BWAnchoredButtonCell.m | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Frameworks/BWToolkitFramework.framework/BWAnchoredButtonCell.m b/Frameworks/BWToolkitFramework.framework/BWAnchoredButtonCell.m index b8bae016..74bc1a71 100644 --- a/Frameworks/BWToolkitFramework.framework/BWAnchoredButtonCell.m +++ b/Frameworks/BWToolkitFramework.framework/BWAnchoredButtonCell.m @@ -161,8 +161,9 @@ static float scaleFactor = 1.0f; { NSImage *image; - image = ([self state] == NSOffState ? [self image] : [self alternateImage]); - + image = ([self state] == NSOffState || [self alternateImage] == nil ? [self image] : [self alternateImage]); + + if (image != nil) { [image setScalesWhenResized:NO]; |