diff options
author | Aayush <aayushsharma889@gmail.com> | 2022-12-28 21:53:23 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-12-31 00:08:35 +0100 |
commit | 7a4b912ece600ac94a9e2c5b9991475fbd0c20fd (patch) | |
tree | 272ac593c1f051c65e854ec39ca0a3317967171f /Userland/DevTools/Profiler/TimelineTrack.h | |
parent | 5f67d002a27c8dabfd84fcab4df41e578911fde6 (diff) | |
download | serenity-7a4b912ece600ac94a9e2c5b9991475fbd0c20fd.zip |
LibGUI: Fix invalid ModelIndices during shift-click multiselection
Previously, If the widget was unfocused, the selection start index
would be invalid. This would result in invalid selections when doing
shift+click on the widget (while it is unfocused).
Now, we reassign the selection start index to current index
before we initiate multiselection, if selection start index is invalid.
Should Fix SerenityOS#11999 and the same bug inside FileManager.
Diffstat (limited to 'Userland/DevTools/Profiler/TimelineTrack.h')
0 files changed, 0 insertions, 0 deletions