Reset play button after single note

This commit is contained in:
Matthias Neeracher 2011-09-04 23:03:55 +02:00
parent 8eaa0fb1a5
commit 2de587cf2f

View File

@ -56,11 +56,11 @@
NSOperationQueue * oq = [NSOperationQueue mainQueue];
soundStartObserver = [nc addObserverForName:(NSString*)kVLSoundStartedNotification
object:nil queue:oq usingBlock:^(NSNotification *note) {
[[[self window] contentView] setNeedsDisplay:YES];
[[[self window] toolbar] validateVisibleItems];
}];
soundStopObserver = [nc addObserverForName:(NSString*)kVLSoundStoppedNotification
object:nil queue:oq usingBlock:^(NSNotification *note) {
[[[self window] contentView] setNeedsDisplay:YES];
[[[self window] toolbar] validateVisibleItems];
}];
}
return self;