PaintBrush: Make the ImageEditor accept focus

This commit is contained in:
Andreas Kling 2020-05-13 12:59:16 +02:00
parent 8882b6bd9a
commit 55d96715ff
Notes: sideshowbarker 2024-07-19 06:40:58 +09:00

View file

@ -66,6 +66,8 @@ public:
private:
ImageEditor();
virtual bool accepts_focus() const override { return true; }
virtual void paint_event(GUI::PaintEvent&) override;
virtual void mousedown_event(GUI::MouseEvent&) override;
virtual void mousemove_event(GUI::MouseEvent&) override;