Fixed mousedown bug in the playlist view. It should only play if something is selected.
This commit is contained in:
parent
15f1aa2ebd
commit
466b2f909c
1 changed files with 1 additions and 3 deletions
|
@ -79,14 +79,12 @@
|
||||||
|
|
||||||
- (void)mouseDown:(NSEvent *)e
|
- (void)mouseDown:(NSEvent *)e
|
||||||
{
|
{
|
||||||
NSLog(@"MOUSE DOWN");
|
if ([e type] == NSLeftMouseDown && [e clickCount] == 2 && [self selectedRow] != -1)
|
||||||
if ([e type] == NSLeftMouseDown && [e clickCount] == 2)
|
|
||||||
{
|
{
|
||||||
[playbackController play:self];
|
[playbackController play:self];
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
NSLog(@"Super");
|
|
||||||
[super mouseDown:e];
|
[super mouseDown:e];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue