Make Keys.* event handlers work in PlasmaComponents.TextField.
This commit is contained in:
parent
ec6200fd0e
commit
f711c9378d
@ -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
|
||||
}
|
||||
|
||||
|
||||
|
@ -311,6 +311,7 @@ FocusScope {
|
||||
}
|
||||
}
|
||||
onAccepted: textField.accepted()
|
||||
Keys.forwardTo: textField
|
||||
}
|
||||
|
||||
Private.IconLoader {
|
||||
|
Loading…
Reference in New Issue
Block a user