summaryrefslogtreecommitdiff
path: root/scene/gui
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-01-13 10:31:54 +0100
committerGitHub <noreply@github.com>2018-01-13 10:31:54 +0100
commit7de3a114699fa31c8ab0ae8a5c95ef8e1113a090 (patch)
tree95ea0cac5b0966371dd3e6df7c773ae97f06b3f1 /scene/gui
parent5d6beba4cc8bda552b4a00e99d34a700c5010889 (diff)
parent524ee1405440decec435ea0eaf7ac8219ea4da53 (diff)
Merge pull request #15653 from letheed/has-shader-override
Small fix for Control bindings
Diffstat (limited to 'scene/gui')
-rw-r--r--scene/gui/control.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/scene/gui/control.cpp b/scene/gui/control.cpp
index d4ed0db6ea..6d7da7cdd0 100644
--- a/scene/gui/control.cpp
+++ b/scene/gui/control.cpp
@@ -2747,7 +2747,7 @@ void Control::_bind_methods() {
ClassDB::bind_method(D_METHOD("add_icon_override", "name", "texture"), &Control::add_icon_override);
ClassDB::bind_method(D_METHOD("add_shader_override", "name", "shader"), &Control::add_shader_override);
- ClassDB::bind_method(D_METHOD("add_style_override", "name", "stylebox"), &Control::add_style_override);
+ ClassDB::bind_method(D_METHOD("add_stylebox_override", "name", "stylebox"), &Control::add_style_override);
ClassDB::bind_method(D_METHOD("add_font_override", "name", "font"), &Control::add_font_override);
ClassDB::bind_method(D_METHOD("add_color_override", "name", "color"), &Control::add_color_override);
ClassDB::bind_method(D_METHOD("add_constant_override", "name", "constant"), &Control::add_constant_override);
@@ -2759,6 +2759,7 @@ void Control::_bind_methods() {
ClassDB::bind_method(D_METHOD("get_constant", "name", "type"), &Control::get_constant, DEFVAL(""));
ClassDB::bind_method(D_METHOD("has_icon_override", "name"), &Control::has_icon_override);
+ ClassDB::bind_method(D_METHOD("has_shader_override", "name"), &Control::has_shader_override);
ClassDB::bind_method(D_METHOD("has_stylebox_override", "name"), &Control::has_stylebox_override);
ClassDB::bind_method(D_METHOD("has_font_override", "name"), &Control::has_font_override);
ClassDB::bind_method(D_METHOD("has_color_override", "name"), &Control::has_color_override);