diff options
| author | Bojidar Marinov | 2018-01-12 00:35:12 +0200 |
|---|---|---|
| committer | Bojidar Marinov | 2018-01-12 00:58:14 +0200 |
| commit | 9b8e8b2220b4e2bac3310262d3d1cd7a8eb3b0a5 (patch) | |
| tree | 805b828de2c1b899392245dbf77d45c4450664c8 /scene/gui/option_button.cpp | |
| parent | c1c17b04bd5090503416cef24b4da9209d5cf563 (diff) | |
| download | godot-9b8e8b2220b4e2bac3310262d3d1cd7a8eb3b0a5.tar.gz godot-9b8e8b2220b4e2bac3310262d3d1cd7a8eb3b0a5.tar.zst godot-9b8e8b2220b4e2bac3310262d3d1cd7a8eb3b0a5.zip | |
Diffstat (limited to 'scene/gui/option_button.cpp')
| -rw-r--r-- | scene/gui/option_button.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/option_button.cpp b/scene/gui/option_button.cpp index ba35e6cd1..1a4692156 100644 --- a/scene/gui/option_button.cpp +++ b/scene/gui/option_button.cpp @@ -319,7 +319,7 @@ void OptionButton::_bind_methods() { ClassDB::bind_method(D_METHOD("_get_items"), &OptionButton::_get_items); ADD_PROPERTY(PropertyInfo(Variant::INT, "selected"), "_select_int", "get_selected"); - ADD_PROPERTY(PropertyInfo(Variant::ARRAY, "items", PROPERTY_HINT_NONE, "", PROPERTY_USAGE_NOEDITOR), "_set_items", "_get_items"); + ADD_PROPERTY(PropertyInfo(Variant::ARRAY, "items", PROPERTY_HINT_NONE, "", PROPERTY_USAGE_NOEDITOR | PROPERTY_USAGE_INTERNAL), "_set_items", "_get_items"); ADD_SIGNAL(MethodInfo("item_selected", PropertyInfo(Variant::INT, "ID"))); } |
