1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 18:28:12 +00:00

GTreeView: Make double-clicking toggle openable items

This commit is contained in:
Andreas Kling 2019-09-07 21:45:06 +02:00
parent 2f5b2685af
commit 64b1e9deec
2 changed files with 19 additions and 0 deletions

View file

@ -13,6 +13,7 @@ public:
protected:
virtual void paint_event(GPaintEvent&) override;
virtual void mousedown_event(GMouseEvent&) override;
virtual void doubleclick_event(GMouseEvent&) override;
virtual void keydown_event(GKeyEvent&) override;
virtual void did_update_selection() override;
virtual void did_update_model() override;