aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks
diff options
context:
space:
mode:
authoravenjamin <avenjamin@gmail.com>2009-06-29 09:19:35 +0000
committeravenjamin <avenjamin@gmail.com>2009-06-29 09:19:35 +0000
commit4124ae61f618bd22a9beb7f41717c3718ea2170e (patch)
tree24be3082da5ca1d55f5cc3fda77f0728ff7f99d9 /Frameworks
parentc7843fd69a05bf5f13b88bc4588c1105cd2cc411 (diff)
downloadsequelpro-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')
-rw-r--r--Frameworks/BWToolkitFramework.framework/BWAnchoredButtonCell.m5
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];