diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-03-25 18:14:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-25 18:14:58 +0100 |
commit | d3064400c574ac2c784dfae1680ea88eaed71ab7 (patch) | |
tree | 238bcf67c942c79848ace44abf6bafc8aa60a003 /editor/plugins/ot_features_plugin.h | |
parent | c14df99124aaae00de47f58b8930ce81a5738653 (diff) | |
parent | 15f4b283bbf59a5d3c66c61b02f60f6be40c57d2 (diff) |
Merge pull request #59500 from fire-forge/opentype-button
Diffstat (limited to 'editor/plugins/ot_features_plugin.h')
-rw-r--r-- | editor/plugins/ot_features_plugin.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/editor/plugins/ot_features_plugin.h b/editor/plugins/ot_features_plugin.h index 8c38d888de..fcbc8692ca 100644 --- a/editor/plugins/ot_features_plugin.h +++ b/editor/plugins/ot_features_plugin.h @@ -56,10 +56,10 @@ public: /*************************************************************************/ -class OpenTypeFeaturesAdd : public EditorProperty { - GDCLASS(OpenTypeFeaturesAdd, EditorProperty); +class OpenTypeFeaturesAdd : public Button { + GDCLASS(OpenTypeFeaturesAdd, Button); - Button *button = nullptr; + Object *edited_object = nullptr; PopupMenu *menu = nullptr; PopupMenu *menu_ss = nullptr; PopupMenu *menu_cv = nullptr; @@ -73,7 +73,7 @@ protected: static void _bind_methods(); public: - virtual void update_property() override; + void setup(Object *p_object); OpenTypeFeaturesAdd(); }; |