summaryrefslogtreecommitdiffstats
path: root/scene/gui/popup_menu.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2017-02-13 11:11:01 +0100
committerGitHub <noreply@github.com>2017-02-13 11:11:01 +0100
commitbf64df4427836a4e7a5060ee11d75eea6da79b14 (patch)
treef33b1c2a15fe7024716b3a611b625c652290d067 /scene/gui/popup_menu.cpp
parent70b9aa379d99c78f6db87344e3002808dac70bfa (diff)
parent0f687f0ccbd7533a54dec38ca8dc5acd9a60e64a (diff)
downloadredot-engine-bf64df4427836a4e7a5060ee11d75eea6da79b14.tar.gz
Merge pull request #7784 from hpvb/kill-scs-macro
Remove use of _SCS
Diffstat (limited to 'scene/gui/popup_menu.cpp')
-rw-r--r--scene/gui/popup_menu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/gui/popup_menu.cpp b/scene/gui/popup_menu.cpp
index 65e7c3ab39..d5762f8d53 100644
--- a/scene/gui/popup_menu.cpp
+++ b/scene/gui/popup_menu.cpp
@@ -1170,8 +1170,8 @@ void PopupMenu::_bind_methods() {
ClassDB::bind_method(_MD("_submenu_timeout"),&PopupMenu::_submenu_timeout);
- ADD_PROPERTY( PropertyInfo(Variant::ARRAY,"items",PROPERTY_HINT_NONE,"",PROPERTY_USAGE_NOEDITOR), _SCS("_set_items"),_SCS("_get_items") );
- ADD_PROPERTYNO( PropertyInfo(Variant::BOOL, "hide_on_item_selection" ), _SCS("set_hide_on_item_selection"), _SCS("is_hide_on_item_selection") );
+ ADD_PROPERTY( PropertyInfo(Variant::ARRAY,"items",PROPERTY_HINT_NONE,"",PROPERTY_USAGE_NOEDITOR), "_set_items","_get_items") ;
+ ADD_PROPERTYNO( PropertyInfo(Variant::BOOL, "hide_on_item_selection" ), "set_hide_on_item_selection", "is_hide_on_item_selection") ;
ADD_SIGNAL( MethodInfo("id_pressed", PropertyInfo( Variant::INT,"ID") ) );
ADD_SIGNAL( MethodInfo("index_pressed", PropertyInfo( Variant::INT,"index") ) );