~phablet-team/notes-app/trunk

« back to all changes in this revision

Viewing changes to Components/MixedEdit.qml

Use Action.enabled instead of Action.visible which was deprecated and causing visual glitches. Fixes: https://bugs.launchpad.net/bugs/1226990.

Approved by PS Jenkins bot, Bill Filler, Zsombor Egri.

Show diffs side-by-side

added added

removed removed

Lines of Context:
205
205
        popupObject.canSelectAll = (type == "text" && !(item.selectionStart == 0 && item.selectionEnd == item.text.length))
206
206
        popupObject.targetIndex = index;
207
207
        popupObject.targetItem = item;
 
208
        popupObject.target = item;
208
209
        if (type == "text") {
209
210
            popupObject.selectionStart = item.selectionStart;
210
211
            popupObject.selectionEnd = item.selectionEnd;