diff options
author | Richard Moe Gustavsen <[email protected]> | 2021-11-01 13:30:21 +0100 |
---|---|---|
committer | Richard Moe Gustavsen <[email protected]> | 2021-11-02 11:34:25 +0100 |
commit | e7dff7b13a2ff1a50e26c9961808a6818cd7445e (patch) | |
tree | 8c22e67ab6043953f9d3d6dbf513b0ecc432dbd1 /src/3rdparty/masm | |
parent | 8b50506d56e3fbe7fff353df3665e044214a2a39 (diff) |
qquicktextinput: Allow adjusting selections through IM
Even if a TextInput is readOnly, it doesn't mean that
Qt, or the application itself, cannot change the text.
It's user input that is restricted. E.g a call
to QQuickTextInput::setText() will change the text
even if it's read-only.
Moreover, QPA plugins (iOS) might adjust a selection in
the input by letting the user drag on selection handles.
And for this, IM events are also used. The QPA plugins
will still need to (as before) check if the focus object
has Qt::ImEnabled or Qt::ImReadOnly before changing the
text.
Therefore, this patch will remove the check before
processing an IM event.
Change-Id: Id2d9b54df3606108e3dafce34fdb2843668bd9c6
Reviewed-by: Shawn Rutledge <[email protected]>
Diffstat (limited to 'src/3rdparty/masm')
0 files changed, 0 insertions, 0 deletions