From ffedba5c847e72eada168a0fbd0940c101bfd667 Mon Sep 17 00:00:00 2001 From: Dan Barber Date: Wed, 13 Feb 2019 08:31:06 -0500 Subject: [PATCH] We should only be able to select songs --- Persephone/Controllers/QueueViewController.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Persephone/Controllers/QueueViewController.swift b/Persephone/Controllers/QueueViewController.swift index dce8a6e..b36ecbe 100644 --- a/Persephone/Controllers/QueueViewController.swift +++ b/Persephone/Controllers/QueueViewController.swift @@ -178,5 +178,9 @@ class QueueViewController: NSViewController, NSOutlineViewDataSource, NSOutlineV } } + func outlineView(_ outlineView: NSOutlineView, shouldSelectItem item: Any) -> Bool { + return item is SongItem + } + @IBOutlet var queueView: NSOutlineView! }