Commit c7dd080e authored by Don Gagne's avatar Don Gagne

Select all when focused

parent a476b66f
......@@ -60,4 +60,10 @@ TextField {
padding.right: control.showUnits ? unitsLabelWidthGenerator.width : control.__contentHeight/3
}
onActiveFocusChanged: {
if (activeFocus) {
selectAll()
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment