plasmoid: auto-focus prompt input when expanded

This commit is contained in:
Levi Neely 2026-07-07 12:27:52 +02:00
parent 03321cf8a6
commit e53ed3b918
1 changed files with 6 additions and 0 deletions

View File

@ -79,6 +79,12 @@ PlasmoidItem {
Layout.preferredHeight: 520
spacing: 0
onVisibleChanged: {
if (visible && promptInput.enabled) {
promptInput.forceActiveFocus()
}
}
// --- Header ---
RowLayout {
Layout.fillWidth: true