diff --git a/plasmoid/package/contents/ui/main.qml b/plasmoid/package/contents/ui/main.qml index 6a7f4f3..fcd7cf9 100644 --- a/plasmoid/package/contents/ui/main.qml +++ b/plasmoid/package/contents/ui/main.qml @@ -93,6 +93,14 @@ Item{ forceActiveFocus(); } + onActiveFocusChanged: { + if (activeFocus) { + plasmoid.status = PlasmaCore.Types.AcceptingInputStatus + } else { + plasmoid.status = PlasmaCore.Types.ActiveStatus + } + } + // Switch focus properly to terminal to allow text selection onFocusChanged: {