Use plaintext in devtools room selection combo

This commit is contained in:
Tobias Fella
2024-03-02 19:36:46 +01:00
parent 1249304907
commit bdf192df58
3 changed files with 7 additions and 1 deletions

View File

@@ -23,8 +23,9 @@ ColumnLayout {
FormCard.FormComboBoxDelegate {
id: roomComboBox
text: i18n("Room")
textRole: "displayName"
textRole: "escapedDisplayName"
valueRole: "roomId"
displayText: roomListModel.data(roomListModel.index(currentIndex, 0), RoomListModel.DisplayNameRole)
model: RoomListModel {
id: roomListModel
connection: root.connection