diff options
Diffstat (limited to 'scene/gui/menu_button.h')
-rw-r--r-- | scene/gui/menu_button.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scene/gui/menu_button.h b/scene/gui/menu_button.h index c7f1d976ff..08a8a43f55 100644 --- a/scene/gui/menu_button.h +++ b/scene/gui/menu_button.h @@ -40,6 +40,7 @@ class MenuButton : public Button { GDCLASS(MenuButton, Button); bool clicked; + bool disable_shortcuts; PopupMenu *popup; virtual void pressed(); @@ -54,6 +55,8 @@ protected: public: PopupMenu *get_popup(); + void set_disable_shortcuts(bool p_disabled); + MenuButton(); ~MenuButton(); }; |