~ubuntu-branches/ubuntu/utopic/notes-app/utopic-proposed

« back to all changes in this revision

Viewing changes to Components/NoteItem.qml

  • Committer: Package Import Robot
  • Author(s): Ubuntu daily release, Ugo Riboni, Ubuntu daily release
  • Date: 2013-08-08 06:28:27 UTC
  • mfrom: (1.1.11)
  • Revision ID: package-import@ubuntu.com-20130808062827-aoqfup0nlxwftusz
Tags: 1.4+13.10.20130808.1-0ubuntu1
[ Ugo Riboni ]
* Propagate events properly so that the notes app works well with the
  new InverseMouseArea. (LP: #1207426)

[ Ubuntu daily release ]
* Automatic snapshot from revision 172

Show diffs side-by-side

added added

removed removed

Lines of Context:
80
80
                }
81
81
            }
82
82
 
83
 
            onClicked: noteContent.startEditAtEnd()
 
83
            onClicked: {
 
84
                noteContent.startEditAtEnd();
 
85
                mouse.accepted = false;
 
86
            }
 
87
 
 
88
            propagateComposedEvents: true
84
89
        }
85
90
 
86
91
        BorderImage {
133
138
              will retain focus and the next first click will refocus it again */
134
139
            noteItem.deactivated()
135
140
            noteContent.focus = false;
 
141
            mouse.accepted = false;
136
142
        }
137
143
        enabled: noteItem.isExpanded
138
144
        propagateComposedEvents: true