@@ -30,6 +30,8 @@ Loader {
3030 property int maxHeight
3131 readonly property bool fullscreen: menuData.type === "com.canonical.snapdecision.pinlock"
3232
33+ signal accepted()
34+
3335 property var _map: {
3436 "com.canonical.snapdecision.textfield": textfield,
3537 "com.canonical.snapdecision.pinlock" : pinLock,
@@ -82,6 +84,9 @@ Loader {
8284 onTextChanged: {
8385 menuModel.changeState(menuIndex, text);
8486 }
87+ onAccepted: {
88+ menuFactory.accepted()
89+ }
8590 }
8691
8792 Row {