Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Reviewed-by: Ville Voutilainen <[email protected]>
- Loading branch information