From 472eee1e7370db15f414bff87f58e89c67775b9d Mon Sep 17 00:00:00 2001 From: Kevin Krammer Date: Wed, 17 Oct 2012 20:34:29 +0200 Subject: [PATCH] Connect editor context menu actions --- editor.qml | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/editor.qml b/editor.qml index 6e9f5e0..53a5379 100644 --- a/editor.qml +++ b/editor.qml @@ -114,10 +114,18 @@ MainWindow { contextMenuPolicy: Qt.ActionsContextMenu Action { - text: "Copy" + text: qsTr("Cut") + onTriggered: textEdit.cut() } + + Action { + text: qsTr("Copy") + onTriggered: textEdit.copy() + } + Action { - text: "Paste" + text: qsTr("Paste") + onTriggered: textEdit.paste() } } -- 1.7.2.5