[UI] Fix undefined check on audioMenu items.
This commit is contained in:
parent
5f0d602041
commit
8738be39f1
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue