From fdd66e74a9b2afd21f6cb02e5429a2b9be758e45 Mon Sep 17 00:00:00 2001 From: Neil Burrows Date: Sun, 15 Mar 2020 16:34:37 +0000 Subject: [PATCH] Show collection type when invalid collection type selected --- source/Main.brs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/source/Main.brs b/source/Main.brs index 0e71f73c..936a7510 100644 --- a/source/Main.brs +++ b/source/Main.brs @@ -152,7 +152,12 @@ sub Main() m.scene.appendChild(group) else ' TODO - switch on more node types - message_dialog("This library type is not yet implemented: " + selectedItem.type + ".") + if selectedItem.type = "CollectionFolder" then + message_dialog("This library type is not yet implemented: " + selectedItem.collectionType + ".") + else + message_dialog("This library type is not yet implemented: " + selectedItem.type + ".") + end if + selectedItem = invalid end if else if isNodeEvent(msg, "collectionSelected") node = getMsgPicker(msg, "picker")