« get me outta code hell

mtui - Music Text User Interface - user-friendly command line music player
about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ui.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui.js b/ui.js
index 0499ff6..de0b214 100644
--- a/ui.js
+++ b/ui.js
@@ -1024,7 +1024,7 @@ class AppElement extends FocusElement {
     let items;
     if (listing.grouplike.isTheQueue && isTrack(item)) {
       items = [
-        this.tabberPane.visible && {label: 'Reveal', action: () => this.reveal(item)},
+        item[parentSymbol] && this.tabberPane.visible && {label: 'Reveal', action: () => this.reveal(item)},
         {divider: true},
         canControlQueue && {label: 'Play later', action: () => this.playLater(item)},
         canControlQueue && {label: 'Play sooner', action: () => this.playSooner(item)},