mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:17:34 +00:00
LibGUI: Properly handle range selections in ColumnsView
Previously we would always select the left most column when selecting a range of rows. This patch fixes this issue by always applying a selection to the column in which the selection ends.
This commit is contained in:
parent
30d68d71b4
commit
2d681279d4
2 changed files with 16 additions and 0 deletions
|
@ -37,6 +37,8 @@ private:
|
|||
virtual void paint_event(PaintEvent&) override;
|
||||
virtual void mousedown_event(MouseEvent& event) override;
|
||||
|
||||
virtual void select_range(ModelIndex const&) override;
|
||||
|
||||
void move_cursor(CursorMovement, SelectionUpdate) override;
|
||||
|
||||
virtual void select_all() override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue