diff options
author | Andy Shaw <andy.shaw@digia.com> | 2014-12-05 10:22:28 +0100 |
---|---|---|
committer | Andy Shaw <andy.shaw@digia.com> | 2014-12-19 15:55:07 +0100 |
commit | a07120d496c43d45792dc5ca92d93eea37f32cec (patch) | |
tree | b1f7646e5e32b68a96def7be1c01d9ee0ab983cd /tests/auto/corelib/io/qresourceengine/qresourceengine.pro | |
parent | 7393bb0af4c98cabef3138e4db60692e70d4c444 (diff) |
Don't clear lineedit in non normal echo mode when validation is invalid
This fixes a regression introduced with
c09e9f71173a698670d6c728291ee24f53d50800 which caused the lineedit to
clear the whole text when an invalid character was entered into a lineedit
with an echo mode that was not Normal and a validator was set.
Now if undo() is called directly then it will still clear the text as it
is considered to be called as a user. Whereas the validation will take
care of the invalid entry by using internalUndo() as before which avoids
the clearing of the entire text.
Task-number: QTBUG-29318
Change-Id: I5ff5777a75ab864de2217441b5f518f50646bd8f
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Diffstat (limited to 'tests/auto/corelib/io/qresourceengine/qresourceengine.pro')
0 files changed, 0 insertions, 0 deletions