diff options
Diffstat (limited to 'components/ContextMenu.qml')
| -rw-r--r-- | components/ContextMenu.qml | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/components/ContextMenu.qml b/components/ContextMenu.qml index efbd38ab..0b3a37d0 100644 --- a/components/ContextMenu.qml +++ b/components/ContextMenu.qml @@ -2,7 +2,7 @@ import QtQuick 2.9 import QtQuick.Controls 2.2 import FontAwesome 1.0 -import "../components" as MoneroComponents +import "../components" as MonzeroComponents MouseArea { signal cut() @@ -26,10 +26,10 @@ MouseArea { id: contextMenu background: Rectangle { - border.color: MoneroComponents.Style.buttonBackgroundColorDisabledHover + border.color: MonzeroComponents.Style.buttonBackgroundColorDisabledHover border.width: 1 radius: 2 - color: MoneroComponents.Style.blackTheme ? MoneroComponents.Style.buttonBackgroundColorDisabled : "#E5E5E5" + color: MonzeroComponents.Style.blackTheme ? MonzeroComponents.Style.buttonBackgroundColorDisabled : "#E5E5E5" } padding: 1 @@ -45,31 +45,31 @@ MouseArea { root.parent.forceActiveFocus() } - MoneroComponents.ContextMenuItem { + MonzeroComponents.ContextMenuItem { enabled: root.parent.selectedText != "" && !root.parent.readOnly onTriggered: root.cut() text: qsTr("Cut") + translationManager.emptyString } - MoneroComponents.ContextMenuItem { + MonzeroComponents.ContextMenuItem { enabled: root.parent.selectedText != "" onTriggered: root.copy() text: qsTr("Copy") + translationManager.emptyString } - MoneroComponents.ContextMenuItem { + MonzeroComponents.ContextMenuItem { enabled: root.parent.canPaste === true onTriggered: root.paste() text: qsTr("Paste") + translationManager.emptyString } - MoneroComponents.ContextMenuItem { + MonzeroComponents.ContextMenuItem { enabled: root.parent.selectedText != "" && !root.parent.readOnly onTriggered: root.remove() text: qsTr("Delete") + translationManager.emptyString } - MoneroComponents.ContextMenuItem { + MonzeroComponents.ContextMenuItem { enabled: root.parent.text != "" onTriggered: root.selectAll() text: qsTr("Select All") + translationManager.emptyString |
