Skip to content
Commit 34d3f770 authored by Yifan Zhu's avatar Yifan Zhu
Browse files

KStandardItemListWidget: select by number of unicode chars

Previously during rename, the number of QChar is used for selection,
which might be different from number of unicode characters.

Test plan:
- create the file zz❤️❤️

.txt
- rename the file
- verify that the first 4 characters are correctly selected, which
  didn't work before the patch.

BUG: 466814


(cherry picked from commit 021365dc)

Co-authored-by: default avatarYifan Zhu <[email protected]>
parent 5340174c
Loading
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment