diff --git a/src/gui/Base/HTextContextMenu.qml b/src/gui/Base/HTextContextMenu.qml index 03f76a1a..8d7595c3 100644 --- a/src/gui/Base/HTextContextMenu.qml +++ b/src/gui/Base/HTextContextMenu.qml @@ -68,6 +68,7 @@ HMenu { HMenuItem { icon.name: "select-all-text" text: qsTr("Select all") + enabled: control.length > 0 onTriggered: control.selectAll() } }