diff options
author | Andy Shaw <andy.shaw@qt.io> | 2018-06-05 10:42:51 +0200 |
---|---|---|
committer | Andy Shaw <andy.shaw@qt.io> | 2018-06-06 19:47:53 +0000 |
commit | af4435c5f8748a0135a06f7e85d979604b7eaffe (patch) | |
tree | 778be19088364ad1ac7622f39b820d59d9306920 /src/corelib/kernel/qcore_foundation.mm | |
parent | 792298e42d99fe0251608381ea751ab85154d6be (diff) |
QLineEdit: Emit inputRejected() when part of the input is rejected
When pasting text, it is possible that part of the text is still pasted
but part of it is not. For example, if there is a maximum length set then
only the first part of the text is pasted and the rest is dropped. In
this case it should still emit inputRejected() as not all of the input
was accepted. This amends c901cdadc0a6ec65eddfe4f181274e56567f9973.
Change-Id: If7906767be27e88ed9914c50bf0427833de5b8fa
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'src/corelib/kernel/qcore_foundation.mm')
0 files changed, 0 insertions, 0 deletions