diff options
Diffstat (limited to 'scene/gui/link_button.cpp')
-rw-r--r-- | scene/gui/link_button.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/gui/link_button.cpp b/scene/gui/link_button.cpp index 5b791064a8..29c07eb158 100644 --- a/scene/gui/link_button.cpp +++ b/scene/gui/link_button.cpp @@ -141,8 +141,8 @@ void LinkButton::_bind_methods() { BIND_CONSTANT( UNDERLINE_MODE_ON_HOVER ); BIND_CONSTANT( UNDERLINE_MODE_NEVER ); - ADD_PROPERTYNZ(PropertyInfo(Variant::STRING,"text"), _SCS("set_text"), _SCS("get_text")); - ADD_PROPERTYNZ(PropertyInfo(Variant::INT,"underline",PROPERTY_HINT_ENUM,"Always,On Hover,Never"), _SCS("set_underline_mode"), _SCS("get_underline_mode")); + ADD_PROPERTYNZ(PropertyInfo(Variant::STRING,"text"), "set_text", "get_text"); + ADD_PROPERTYNZ(PropertyInfo(Variant::INT,"underline",PROPERTY_HINT_ENUM,"Always,On Hover,Never"), "set_underline_mode", "get_underline_mode"); } |