summaryrefslogtreecommitdiff
path: root/editor/plugins
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-01-17 16:13:49 +0100
committerRémi Verschelde <rverschelde@gmail.com>2019-01-17 16:14:01 +0100
commite4f1b995cc2989a2d039cfd2b006e93653569892 (patch)
tree958e5729c18d2f3e1cfbe5e391ac52b6d15b6e41 /editor/plugins
parent56d4b9b1aecab40dd9332b1443b1449b2408a429 (diff)
Fix radio buttons support in ItemListEditorPlugin
This was missed in bf14a6deffe4c9b74920080851f7e4e273f66116.
Diffstat (limited to 'editor/plugins')
-rw-r--r--editor/plugins/item_list_editor_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/item_list_editor_plugin.cpp b/editor/plugins/item_list_editor_plugin.cpp
index d9861c91e0..db0816064c 100644
--- a/editor/plugins/item_list_editor_plugin.cpp
+++ b/editor/plugins/item_list_editor_plugin.cpp
@@ -109,7 +109,7 @@ void ItemListPlugin::_get_property_list(List<PropertyInfo> *p_list) const {
int flags = get_flags();
if (flags & FLAG_CHECKABLE) {
- p_list->push_back(PropertyInfo(Variant::BOOL, base + "checkable", PROPERTY_HINT_ENUM, "No,As checkbox,As radio button"));
+ p_list->push_back(PropertyInfo(Variant::INT, base + "checkable", PROPERTY_HINT_ENUM, "No,As checkbox,As radio button"));
p_list->push_back(PropertyInfo(Variant::BOOL, base + "checked"));
}