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