Disable "Select all" when no text in field/area
This commit is contained in:
@@ -68,6 +68,7 @@ HMenu {
|
||||
HMenuItem {
|
||||
icon.name: "select-all-text"
|
||||
text: qsTr("Select all")
|
||||
enabled: control.length > 0
|
||||
onTriggered: control.selectAll()
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user