Commit 1d97cafd authored by Matthieu Gallien's avatar Matthieu Gallien 🎵 Committed by Nate Graham
Browse files

focus first (title) TextEntry component when editing a radio

BUG: 418296
parent 66ab5d0e
......@@ -48,6 +48,8 @@ RowLayout {
Loader {
id: textDisplayLoader
focus: model.index === 0
active: model.type === EditableTrackMetadataModel.TextEntry || model.type === EditableTrackMetadataModel.UrlEntry || model.type === EditableTrackMetadataModel.IntegerEntry
visible: model.type === EditableTrackMetadataModel.TextEntry || model.type === EditableTrackMetadataModel.UrlEntry || model.type === EditableTrackMetadataModel.IntegerEntry
......@@ -57,6 +59,8 @@ RowLayout {
sourceComponent: TextField {
text: model.display
focus: model.index === 0
horizontalAlignment: Text.AlignLeft
selectByMouse: true
......
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