From 2de587cf2f2c16c740cdf43d2c0983b50e3842c4 Mon Sep 17 00:00:00 2001 From: Matthias Neeracher Date: Sun, 4 Sep 2011 23:03:55 +0200 Subject: [PATCH] Reset play button after single note --- Sources/VLSheetWindow.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/VLSheetWindow.mm b/Sources/VLSheetWindow.mm index 53f5774..404e439 100644 --- a/Sources/VLSheetWindow.mm +++ b/Sources/VLSheetWindow.mm @@ -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;