summaryrefslogtreecommitdiffstats
path: root/scene/gui/tab_bar.cpp
diff options
context:
space:
mode:
authorYuri Rubinsky <chaosus89@gmail.com>2024-07-03 10:39:18 +0300
committerYuri Rubinsky <chaosus89@gmail.com>2024-07-09 19:38:52 +0300
commitaf5fc8354b60f0d354194155c36e317ccb69e97b (patch)
tree37ea5675d05dca99589d6a1a5905a3f6a079dcaa /scene/gui/tab_bar.cpp
parent26d1577f3985363faab48a65e9a0d9eed0e26d86 (diff)
downloadredot-engine-af5fc8354b60f0d354194155c36e317ccb69e97b.tar.gz
Fix a bunch of orphan StringName errors at ProjectSettings/Editor exit
Diffstat (limited to 'scene/gui/tab_bar.cpp')
-rw-r--r--scene/gui/tab_bar.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/gui/tab_bar.cpp b/scene/gui/tab_bar.cpp
index ddc757c452..1ae18f5728 100644
--- a/scene/gui/tab_bar.cpp
+++ b/scene/gui/tab_bar.cpp
@@ -1873,6 +1873,7 @@ void TabBar::_bind_methods() {
base_property_helper.register_property(PropertyInfo(Variant::STRING, "tooltip"), defaults.tooltip, &TabBar::set_tab_tooltip, &TabBar::get_tab_tooltip);
base_property_helper.register_property(PropertyInfo(Variant::OBJECT, "icon", PROPERTY_HINT_RESOURCE_TYPE, "Texture2D"), defaults.icon, &TabBar::set_tab_icon, &TabBar::get_tab_icon);
base_property_helper.register_property(PropertyInfo(Variant::BOOL, "disabled"), defaults.disabled, &TabBar::set_tab_disabled, &TabBar::is_tab_disabled);
+ PropertyListHelper::register_base_helper(&base_property_helper);
}
TabBar::TabBar() {