aboutsummaryrefslogtreecommitdiffstats
path: root/Source/YRKSpinningProgressIndicator.m
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2010-06-05 22:20:31 +0000
committerrowanbeentje <rowan@beent.je>2010-06-05 22:20:31 +0000
commitd2fc07c38b51c6fa0f27586e52eee668d5bf2add (patch)
tree6bd546bb3c169a417aedc29524e3d32faf10cd46 /Source/YRKSpinningProgressIndicator.m
parentb690511d3a685292d6afc383832232a7ec25980b (diff)
downloadsequelpro-d2fc07c38b51c6fa0f27586e52eee668d5bf2add.tar.gz
sequelpro-d2fc07c38b51c6fa0f27586e52eee668d5bf2add.tar.bz2
sequelpro-d2fc07c38b51c6fa0f27586e52eee668d5bf2add.zip
- Improve progress indicator thread safety, improving stability and fixing issues like http://spbug.com/l/334
Diffstat (limited to 'Source/YRKSpinningProgressIndicator.m')
-rw-r--r--Source/YRKSpinningProgressIndicator.m4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/YRKSpinningProgressIndicator.m b/Source/YRKSpinningProgressIndicator.m
index 07e93863..4872b201 100644
--- a/Source/YRKSpinningProgressIndicator.m
+++ b/Source/YRKSpinningProgressIndicator.m
@@ -340,6 +340,10 @@
[self setNeedsDisplay:YES];
}
+- (void)setNumberValue:(NSNumber *)numberValue
+{
+ [self setDoubleValue:[numberValue doubleValue]];
+}
- (double)maxValue
{
return _maxValue;