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() |         updateContainerSelectedTexts() | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     function selectAllTextPlus() { |  | ||||||
|         // Unimplemented by default |  | ||||||
|         container.clearSelection() |  | ||||||
|     } |  | ||||||
|  |  | ||||||
|  |  | ||||||
|     Connections { |     Connections { | ||||||
|         target: container |         target: container | ||||||
| @@ -128,7 +123,6 @@ TextEdit { | |||||||
|         onTapped: { |         onTapped: { | ||||||
|             tapCount == 2 ? selectWordAt(eventPoint.position) : |             tapCount == 2 ? selectWordAt(eventPoint.position) : | ||||||
|             tapCount == 3 ? selectAllText() : |             tapCount == 3 ? selectAllText() : | ||||||
|             tapCount == 4 ? selectAllTextPlus() : |  | ||||||
|             container.clearSelection() |             container.clearSelection() | ||||||
|         } |         } | ||||||
|     } |     } | ||||||
|   | |||||||
| @@ -92,8 +92,12 @@ Row { | |||||||
|                 // horizontalAlignment: onRight ? Text.AlignRight : Text.AlignLeft |                 // horizontalAlignment: onRight ? Text.AlignRight : Text.AlignLeft | ||||||
|                 horizontalAlignment: Text.AlignLeft |                 horizontalAlignment: Text.AlignLeft | ||||||
|  |  | ||||||
|                 function selectAllTextPlus() { |                 function selectAllText() { | ||||||
|                     contentLabel.selectAllTextPlus() |                     // select the sender name, body and date | ||||||
|  |                     container.clearSelection() | ||||||
|  |                     nameLabel.selectAll() | ||||||
|  |                     contentLabel.selectAll() | ||||||
|  |                     contentLabel.updateContainerSelectedTexts() | ||||||
|                 } |                 } | ||||||
|  |  | ||||||
|                 HoverHandler { id: nameHover } |                 HoverHandler { id: nameHover } | ||||||
| @@ -139,14 +143,6 @@ Row { | |||||||
|                     contentLabel.updateContainerSelectedTexts() |                     contentLabel.updateContainerSelectedTexts() | ||||||
|                 } |                 } | ||||||
|  |  | ||||||
|                 function selectAllTextPlus() { |  | ||||||
|                     // select the sender name, body and date |  | ||||||
|                     container.clearSelection() |  | ||||||
|                     nameLabel.selectAll() |  | ||||||
|                     contentLabel.selectAll() |  | ||||||
|                     contentLabel.updateContainerSelectedTexts() |  | ||||||
|                 } |  | ||||||
|  |  | ||||||
|                 HoverHandler { id: contentHover } |                 HoverHandler { id: contentHover } | ||||||
|             } |             } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	