summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorAlexHolly <alexander.holland@live.de>2017-07-28 03:27:46 +0200
committerAlexHolly <alexander.holland@live.de>2017-07-28 04:00:03 +0200
commit4062456c419f263e76197ba70649837012d45935 (patch)
treeb38405b6876c510336ee0c0502030f77d3208fdb /scene
parent64e26f98e24a267b3a3676671d69e9cc9e5830b9 (diff)
fix missing DEFVAL
Diffstat (limited to 'scene')
-rw-r--r--scene/gui/tabs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/tabs.cpp b/scene/gui/tabs.cpp
index c477a3156f..24eb19fbc2 100644
--- a/scene/gui/tabs.cpp
+++ b/scene/gui/tabs.cpp
@@ -793,7 +793,7 @@ void Tabs::_bind_methods() {
ClassDB::bind_method(D_METHOD("set_tab_disabled", "tab_idx", "disabled"), &Tabs::set_tab_disabled);
ClassDB::bind_method(D_METHOD("get_tab_disabled", "tab_idx"), &Tabs::get_tab_disabled);
ClassDB::bind_method(D_METHOD("remove_tab", "tab_idx"), &Tabs::remove_tab);
- ClassDB::bind_method(D_METHOD("add_tab", "title", "icon:Texture"), &Tabs::add_tab);
+ ClassDB::bind_method(D_METHOD("add_tab", "title", "icon:Texture"), &Tabs::add_tab, DEFVAL(""), DEFVAL(Ref<Texture>()));
ClassDB::bind_method(D_METHOD("set_tab_align", "align"), &Tabs::set_tab_align);
ClassDB::bind_method(D_METHOD("get_tab_align"), &Tabs::get_tab_align);
ClassDB::bind_method(D_METHOD("ensure_tab_visible", "idx"), &Tabs::ensure_tab_visible);