Remove quadruple click message selection

A tripple click is too easily detected as a quadruple when the user
actually did a triple.
This commit is contained in:
miruka
2019-09-12 20:17:43 -04:00
parent 7f29716a61
commit f6b2c59fdc
2 changed files with 6 additions and 16 deletions

View File

@@ -92,8 +92,12 @@ Row {
// horizontalAlignment: onRight ? Text.AlignRight : Text.AlignLeft
horizontalAlignment: Text.AlignLeft
function selectAllTextPlus() {
contentLabel.selectAllTextPlus()
function selectAllText() {
// select the sender name, body and date
container.clearSelection()
nameLabel.selectAll()
contentLabel.selectAll()
contentLabel.updateContainerSelectedTexts()
}
HoverHandler { id: nameHover }
@@ -139,14 +143,6 @@ Row {
contentLabel.updateContainerSelectedTexts()
}
function selectAllTextPlus() {
// select the sender name, body and date
container.clearSelection()
nameLabel.selectAll()
contentLabel.selectAll()
contentLabel.updateContainerSelectedTexts()
}
HoverHandler { id: contentHover }
}