The combobox seems to have a problem with certain characters, at least i've detected that when we go to the item list the "&" appears as "_". How can we solve this?
An example:
ComboBox {
id: combobox
textRole: "text"
Layout.fillWidth: true
model: ListModel {
dynamicRoles: true
}
Component.onCompleted: {
reload()
}
Connections {
target: trans // this is a translator from a git project you are referring to
onLanguageChanged: {
combobox.reload()
}
}
function reload() {
var i = combobox.currentIndex
combobox.model = [
{text: qsTr("apple & orange")}
]
combobox.currentIndex = i
}
this is on QT 5.11.2
If i escape the text
{text: qsTr("apple && orange")}
this happens

