diff options
author | rowanbeentje <rowan@beent.je> | 2009-11-08 22:58:56 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2009-11-08 22:58:56 +0000 |
commit | 8f3065bb99ff46ddfcffdd05eb55e09871cad0c9 (patch) | |
tree | 0e580a5c151e6933c95c0b8417ae44f8c8f8acb4 /Source/YRKSpinningProgressIndicator.m | |
parent | 55bf19f025ab67562b151a40e2440c5c76b00ee5 (diff) | |
download | sequelpro-8f3065bb99ff46ddfcffdd05eb55e09871cad0c9.tar.gz sequelpro-8f3065bb99ff46ddfcffdd05eb55e09871cad0c9.tar.bz2 sequelpro-8f3065bb99ff46ddfcffdd05eb55e09871cad0c9.zip |
- Support nested task levels to allow tasks to overlap
- Thread history loading, thus using the nested task elvels and fixing history interaction in recent builds
- Thread initial database loads
- Improve progress indicator slightly
Diffstat (limited to 'Source/YRKSpinningProgressIndicator.m')
-rw-r--r-- | Source/YRKSpinningProgressIndicator.m | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Source/YRKSpinningProgressIndicator.m b/Source/YRKSpinningProgressIndicator.m index a1f70e9d..935d613c 100644 --- a/Source/YRKSpinningProgressIndicator.m +++ b/Source/YRKSpinningProgressIndicator.m @@ -287,10 +287,7 @@ { if (_isIndeterminate) _isIndeterminate = NO; _currentValue = doubleValue; - if ([NSThread isMainThread]) - [self displayIfNeeded]; - else - [self performSelectorOnMainThread:@selector(displayIfNeeded) withObject:nil waitUntilDone:NO]; + [self setNeedsDisplay:YES]; } - (double)maxValue |