Skip to content
Snippets Groups Projects
Commit c7dd080e authored by Don Gagne's avatar Don Gagne
Browse files

Select all when focused

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