Make Keys.* event handlers work in PlasmaComponents.TextField.

This commit is contained in:
Lamarque V. Souza 2012-11-10 14:47:07 -02:00
parent ec6200fd0e
commit f711c9378d
2 changed files with 2 additions and 2 deletions

View File

@ -168,8 +168,7 @@ Item {
// Proxying keys events is not required by the
// common API but is desired in the plasma API.
Keys.onPressed: textField.Keys.pressed(event);
Keys.onReleased: textField.Keys.released(event);
Keys.forwardTo: textField
}

View File

@ -311,6 +311,7 @@ FocusScope {
}
}
onAccepted: textField.accepted()
Keys.forwardTo: textField
}
Private.IconLoader {