diff options
author | Max <post@wickenrode.com> | 2015-02-19 18:11:59 +0100 |
---|---|---|
committer | Max <post@wickenrode.com> | 2015-02-19 18:11:59 +0100 |
commit | 5f3c003919903c597b2d6aeb7fcc064b0d6d9ef3 (patch) | |
tree | 11acdc1c1616870f42f8e983f9c5f76a0b3f2ccb /Source/SPFavoriteTextFieldCell.m | |
parent | fc02994e768eece82442bed8e6d21134d392b7a1 (diff) | |
download | sequelpro-5f3c003919903c597b2d6aeb7fcc064b0d6d9ef3.tar.gz sequelpro-5f3c003919903c597b2d6aeb7fcc064b0d6d9ef3.tar.bz2 sequelpro-5f3c003919903c597b2d6aeb7fcc064b0d6d9ef3.zip |
Fix a bug that could cause items in the favorite list to be color-labeled when they don't have a label assigned
Diffstat (limited to 'Source/SPFavoriteTextFieldCell.m')
-rw-r--r-- | Source/SPFavoriteTextFieldCell.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPFavoriteTextFieldCell.m b/Source/SPFavoriteTextFieldCell.m index cf9f6a05..5eb6c103 100644 --- a/Source/SPFavoriteTextFieldCell.m +++ b/Source/SPFavoriteTextFieldCell.m @@ -49,7 +49,7 @@ extern BOOL isOSAtLeast10_10_0(void); SPFavoriteTextFieldCell *cell = (SPFavoriteTextFieldCell *)[super copyWithZone:zone]; cell->drawsDividerUnderCell = drawsDividerUnderCell; - cell->labelColor = nil; //TODO copying the color sometimes causes a drawing bug + cell->labelColor = [labelColor copyWithZone:zone]; return cell; } |