mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 07:38:10 +00:00
LibGUI: Clear selection if right-clicking item that isn't selected
If we're right-clicking on an item that isn't currently selected, clear the selection first. Fixes #3665
This commit is contained in:
parent
ad8284bac6
commit
a7533eb29c
2 changed files with 8 additions and 1 deletions
|
@ -52,6 +52,7 @@ public:
|
|||
Set,
|
||||
Shift,
|
||||
Ctrl,
|
||||
ClearIfNotSelected
|
||||
};
|
||||
|
||||
virtual void move_cursor(CursorMovement, SelectionUpdate) { }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue