Merge lp:~tiagosh/messaging-app/fix-attachment-context-menu into lp:messaging-app

Proposed by Tiago Salem Herrmann
Status: Merged
Approved by: Gustavo Pichorim Boiko
Approved revision: 267
Merged at revision: 403
Proposed branch: lp:~tiagosh/messaging-app/fix-attachment-context-menu
Merge into: lp:messaging-app
Diff against target: 36 lines (+2/-5)
1 file modified
src/qml/Messages.qml (+2/-5)
To merge this branch: bzr merge lp:~tiagosh/messaging-app/fix-attachment-context-menu
Reviewer Review Type Date Requested Status
Gustavo Pichorim Boiko (community) Approve
PS Jenkins bot continuous-integration Needs Fixing
Review via email: mp+238564@code.launchpad.net

Commit message

Fix pressAndHold for all kinds of attachments

Description of the change

Fix pressAndHold for all kinds of attachments

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
267. By Tiago Salem Herrmann

merge trunk

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Gustavo Pichorim Boiko (boiko) wrote :

Looks good!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/qml/Messages.qml'
2--- src/qml/Messages.qml 2015-06-01 18:01:53 +0000
3+++ src/qml/Messages.qml 2015-06-09 22:29:55 +0000
4@@ -850,16 +850,14 @@
5 elide: Text.ElideRight
6 color: UbuntuColors.lightAubergine
7 }
8-
9 MouseArea {
10 anchors.fill: parent
11- onClicked: {
12+ onPressAndHold: {
13 mouse.accept = true
14 Qt.inputMethod.hide()
15 activeAttachmentIndex = index
16 PopupUtils.open(attachmentPopover, parent)
17 }
18- onPressAndHold: clicked(mouse)
19 }
20 }
21 }
22@@ -882,13 +880,12 @@
23 }
24 MouseArea {
25 anchors.fill: parent
26- onClicked: {
27+ onPressAndHold: {
28 mouse.accept = true
29 Qt.inputMethod.hide()
30 activeAttachmentIndex = index
31 PopupUtils.open(attachmentPopover, parent)
32 }
33- onPressAndHold: clicked(mouse)
34 }
35 }
36 }

Subscribers

People subscribed via source and target branches