Small stability improvements.

This commit is contained in:
Black Hat
2018-07-22 22:16:53 +08:00
parent f9e41f7e9f
commit be5332770a
4 changed files with 35 additions and 28 deletions

View File

@@ -213,22 +213,18 @@ Item {
text: "Priorize"
onTriggered: {
roomListMenu.room.removeTag("m.lowpriority")
roomListMenu.room.addTag("m.favourite")
roomListMenu.room.addTag("m.favourite", "")
}
}
MenuItem {
text: "Depriorize"
onTriggered: {
console.log("Index:" + roomListMenu.roomIndex)
console.log("Proxy:" + roomListMenu.roomProxyIndex)
console.log("Room:" + roomListMenu.room.displayName)
roomListMenu.room.removeTag("m.favourite")
roomListMenu.room.addTag("m.lowpriority")
roomListMenu.room.addTag("m.lowpriority", "")
}
}
MenuItem {
text: "Direct Chat"
onTriggered: saveDialog.open()
}
}
}