Fix selection disappearing after delegates unload
Make delegates update their selection when they're loaded again.
This commit is contained in:
parent
d998b471f0
commit
e53f6ed292
4
TODO.md
4
TODO.md
|
@ -13,6 +13,10 @@
|
||||||
- When qml syntax highlighting supports ES6 string interpolation, use that
|
- When qml syntax highlighting supports ES6 string interpolation, use that
|
||||||
|
|
||||||
- Fixes
|
- Fixes
|
||||||
|
- Time on their own lines
|
||||||
|
- When selecting text and scrolling up, selection stops working after a while
|
||||||
|
- Ensure all the text that should be copied is copied
|
||||||
|
|
||||||
- Missing members pane right padding
|
- Missing members pane right padding
|
||||||
- Pressing backspace in composer sometimes doesn't work
|
- Pressing backspace in composer sometimes doesn't work
|
||||||
- Message order isn't preserved when sending a first message in a E2E
|
- Message order isn't preserved when sending a first message in a E2E
|
||||||
|
|
|
@ -18,6 +18,8 @@ TextEdit {
|
||||||
|
|
||||||
onLinkActivated: Qt.openUrlExternally(link)
|
onLinkActivated: Qt.openUrlExternally(link)
|
||||||
|
|
||||||
|
Component.onCompleted: updateSelection()
|
||||||
|
|
||||||
|
|
||||||
// If index is a whole number, the label will get two \n before itself
|
// If index is a whole number, the label will get two \n before itself
|
||||||
// in container.joinedSelection. If it's a decimal number, if gets one \n.
|
// in container.joinedSelection. If it's a decimal number, if gets one \n.
|
||||||
|
|
|
@ -82,5 +82,6 @@ FocusScope {
|
||||||
onTapped: clearSelection()
|
onTapped: clearSelection()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// This item will trigger the children labels's DropAreas
|
||||||
Item { id: draggedItem }
|
Item { id: draggedItem }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user