diff options
Diffstat (limited to 'LibGUI/GButton.h')
-rw-r--r-- | LibGUI/GButton.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/LibGUI/GButton.h b/LibGUI/GButton.h index 7a163bc537..1175885edb 100644 --- a/LibGUI/GButton.h +++ b/LibGUI/GButton.h @@ -40,6 +40,7 @@ public: void set_action(GAction&); virtual const char* class_name() const override { return "GButton"; } + virtual bool accepts_focus() const override { return true; } protected: virtual void paint_event(GPaintEvent&) override; |