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:
		| @@ -96,11 +96,6 @@ TextEdit { | ||||
|         updateContainerSelectedTexts() | ||||
|     } | ||||
|  | ||||
|     function selectAllTextPlus() { | ||||
|         // Unimplemented by default | ||||
|         container.clearSelection() | ||||
|     } | ||||
|  | ||||
|  | ||||
|     Connections { | ||||
|         target: container | ||||
| @@ -128,7 +123,6 @@ TextEdit { | ||||
|         onTapped: { | ||||
|             tapCount == 2 ? selectWordAt(eventPoint.position) : | ||||
|             tapCount == 3 ? selectAllText() : | ||||
|             tapCount == 4 ? selectAllTextPlus() : | ||||
|             container.clearSelection() | ||||
|         } | ||||
|     } | ||||
|   | ||||
| @@ -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 } | ||||
|             } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	