1
0
Fork 0

[UI] Fix undefined check on audioMenu items.

This commit is contained in:
NamedKitten 2018-11-17 16:00:23 +00:00
parent 5f0d602041
commit 8738be39f1

View file

@ -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",