aboutsummaryrefslogtreecommitdiffstats
path: root/Source/YRKSpinningProgressIndicator.m
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2009-11-10 00:22:43 +0000
committerrowanbeentje <rowan@beent.je>2009-11-10 00:22:43 +0000
commit0ce7f983fad694c57aff9217666435685dea5e05 (patch)
tree281d98e3572d4127b1150703cc03c1fdc393f1a6 /Source/YRKSpinningProgressIndicator.m
parentf04ce0c7a9266238d3391f03c9193ca92071812e (diff)
downloadsequelpro-0ce7f983fad694c57aff9217666435685dea5e05.tar.gz
sequelpro-0ce7f983fad694c57aff9217666435685dea5e05.tar.bz2
sequelpro-0ce7f983fad694c57aff9217666435685dea5e05.zip
- Fix an issue when switching databases - allow the table selection to be cleared/reset as necessary
- Move the task progress layer to a child window, which can then be faded in - smooths the visual appearance and fixes drawing artifacts
Diffstat (limited to 'Source/YRKSpinningProgressIndicator.m')
-rw-r--r--Source/YRKSpinningProgressIndicator.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/YRKSpinningProgressIndicator.m b/Source/YRKSpinningProgressIndicator.m
index 935d613c..4d211be3 100644
--- a/Source/YRKSpinningProgressIndicator.m
+++ b/Source/YRKSpinningProgressIndicator.m
@@ -192,6 +192,7 @@
- (void)startAnimation:(id)sender
{
+ if (_isAnimating) return;
_isAnimating = YES;
_animationThread = [[NSThread alloc] initWithTarget:self selector:@selector(animateInBackgroundThread) object:nil];