From 8738be39f1cdfefa46e865704bd2c04e1ba8dfeb Mon Sep 17 00:00:00 2001 From: NamedKitten Date: Sat, 17 Nov 2018 16:00:23 +0000 Subject: [PATCH] [UI] Fix undefined check on audioMenu items. --- src/qml/MainMenu.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qml/MainMenu.qml b/src/qml/MainMenu.qml index 272c3f2..bfee711 100644 --- a/src/qml/MainMenu.qml +++ b/src/qml/MainMenu.qml @@ -67,7 +67,7 @@ MenuBar { } else if (trackType == "audio") { var component = Qt.createComponent("TrackItem.qml") var action = component.createObject(audioMenu, { - text: (trackTitle == "undefined" ? "" : trackTitle + " ") + (trackLang == "undefined" ? "" : trackLang), + text: (trackTitle == undefined ? "" : trackTitle + " ") + (trackLang == "undefined" ? "" : trackLang), trackID: String( trackID), trackType: "aid",