|
@@ -109,7 +109,7 @@ void ItemListPlugin::_get_property_list(List<PropertyInfo> *p_list) const {
|
|
int flags = get_flags();
|
|
int flags = get_flags();
|
|
|
|
|
|
if (flags & FLAG_CHECKABLE) {
|
|
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"));
|
|
p_list->push_back(PropertyInfo(Variant::BOOL, base + "checked"));
|
|
}
|
|
}
|
|
|
|
|