Focus reason field by default in RedactPopup
This commit is contained in:
parent
1e049a0159
commit
5f38788434
|
@ -21,8 +21,9 @@ BoxPopup {
|
|||
""
|
||||
|
||||
okText: qsTr("Remove")
|
||||
box.focusButton: "ok"
|
||||
// box.focusButton: "ok"
|
||||
|
||||
onOpened: reasonField.field.forceActiveFocus()
|
||||
onOk: {
|
||||
const idsForSender = {} // {senderId: [event.id, ...]}
|
||||
|
||||
|
@ -53,6 +54,7 @@ BoxPopup {
|
|||
HLabeledTextField {
|
||||
id: reasonField
|
||||
label.text: qsTr("Optional reason:")
|
||||
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user