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
|
// Proxying keys events is not required by the
|
||||||
// common API but is desired in the plasma API.
|
// common API but is desired in the plasma API.
|
||||||
Keys.onPressed: textField.Keys.pressed(event);
|
Keys.forwardTo: textField
|
||||||
Keys.onReleased: textField.Keys.released(event);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -311,6 +311,7 @@ FocusScope {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
onAccepted: textField.accepted()
|
onAccepted: textField.accepted()
|
||||||
|
Keys.forwardTo: textField
|
||||||
}
|
}
|
||||||
|
|
||||||
Private.IconLoader {
|
Private.IconLoader {
|
||||||
|
Loading…
Reference in New Issue
Block a user