diff options
author | Kari Hormi <kari.hormi@qt.io> | 2019-10-10 17:49:43 +0300 |
---|---|---|
committer | Kari Hormi <kari.hormi@qt.io> | 2019-10-14 15:10:46 +0300 |
commit | 79d7487c89aead1a736f75a5fbf8c154c09924e0 (patch) | |
tree | 3b5b04e558d95480553191f845e9a277686ef001 /src/corelib/global/qendian.h | |
parent | 689405fb5ce5a2ff7446e1d110a7686184270f89 (diff) |
Fix cursor not showing in empty block preceding a table
When an empty text block precedes a table in QTextEdit, the cursor in
the said text block is drawn twice (in order to make sure that the
cursor is drawn on top of the table) with inverted colors, resulting in
nothing showing up. This commit checks for an empty block before the table
and skips the first drawing of the cursor if that's what it finds.
Fixes: QTBUG-62919
Change-Id: I828d06e0645007ac42e3f308a35868b4f0db1380
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Ville Voutilainen <ville.voutilainen@qt.io>
Diffstat (limited to 'src/corelib/global/qendian.h')
0 files changed, 0 insertions, 0 deletions