Commit 64aba536 authored by Harald Sitter's avatar Harald Sitter 🏳️‍🌈
Browse files

set default focuses

BUG: 456753
parent ba2a47e0
Pipeline #206475 passed with stage
in 1 minute and 38 seconds
......@@ -112,4 +112,6 @@ for requesting further information. If you do not have one, you can freely <link
}
]
}
Component.onCompleted: emailField.forceActiveFocus()
}
......@@ -47,6 +47,7 @@ Kirigami.Page {
}
}
QQC2.TextField {
id: titleField
// FIXME: use placeholder text instead of heading??
Layout.fillWidth: true
onEditingFinished: reportInterface.title = text
......@@ -144,4 +145,12 @@ Kirigami.Page {
}
]
}
Component.onCompleted: {
if (titleField.visible) {
titleField.forceActiveFocus()
} else {
informationField.forceActiveFocus()
}
}
}
Supports Markdown
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