Move cursorShape property out of HListView
The Timeline EventList is the only HListView that uses it. For other list views, it interferes with items like text fields which need to set cursor shape by themselves.
This commit is contained in:
@@ -196,6 +196,8 @@ Rectangle {
|
||||
property string delegateWithSelectedText: ""
|
||||
property string selectedText: ""
|
||||
|
||||
property alias cursorShape: cursorShapeArea.cursorShape
|
||||
|
||||
readonly property var redactableCheckedEvents:
|
||||
getSortedChecked().filter(ev => eventList.canRedact(ev))
|
||||
|
||||
@@ -360,6 +362,12 @@ Rectangle {
|
||||
// When an invited room becomes joined, we should now be able to
|
||||
// fetch past events.
|
||||
onInviterChanged: canLoad = true
|
||||
|
||||
MouseArea {
|
||||
id: cursorShapeArea
|
||||
anchors.fill: parent
|
||||
acceptedButtons: Qt.NoButton
|
||||
}
|
||||
}
|
||||
|
||||
Timer {
|
||||
|
Reference in New Issue
Block a user