Don't copy combined invisible names
This commit is contained in:
@@ -23,9 +23,18 @@ TextEdit {
|
||||
// in container.joinedSelection. If it's a decimal number, if gets one \n.
|
||||
property real index
|
||||
property HSelectableLabelContainer container
|
||||
property bool selectable: true
|
||||
|
||||
|
||||
function updateSelection() {
|
||||
if (! selectable && label.selectedText) {
|
||||
label.deselect()
|
||||
updateContainerSelectedTexts()
|
||||
return
|
||||
}
|
||||
|
||||
if (! selectable) return
|
||||
|
||||
if (! container.reversed &&
|
||||
container.selectionStart <= container.selectionEnd ||
|
||||
|
||||
|
@@ -53,6 +53,7 @@ Row {
|
||||
width: parent.width
|
||||
visible: ! hideNameLine
|
||||
container: selectableLabelContainer
|
||||
selectable: ! unselectableNameLine
|
||||
|
||||
// This is +0.1 and content is +0 instead of the opposite,
|
||||
// because the eventList is reversed
|
||||
|
@@ -35,6 +35,9 @@ Column {
|
||||
onRight ||
|
||||
combine
|
||||
|
||||
readonly property bool unselectableNameLine:
|
||||
hideNameLine && ! (onRight && ! combine)
|
||||
|
||||
width: eventList.width
|
||||
|
||||
topPadding:
|
||||
|
Reference in New Issue
Block a user