Commit 094528f9 authored by Richard Moe Gustavsen's avatar Richard Moe Gustavsen
Browse files

Gallery: use new menu API for TextArea


Change-Id: I5caf76c8fb225760bc742b20e699c2cc40403e3c
Reviewed-by: default avatarJ-P Nurmi <jpnurmi@digia.com>
Showing with 1 addition and 7 deletions
......@@ -216,13 +216,7 @@ Item {
wrapMode: wrapCheck.checked ? TextEdit.WordWrap : TextEdit.NoWrap
Layout.fillWidth: true
Layout.fillHeight: true
MouseArea {
id: contextMenu
parent: area.viewport
anchors.fill: parent
acceptedButtons: Qt.RightButton
onPressed: editmenu.popup()
}
menu: editmenu
}
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment