Fix stale tab names in TabContainer
This commit is contained in:
parent
31bf926eb4
commit
0c41411fe8
|
@ -1023,6 +1023,7 @@ void TabContainer::set_tab_title(int p_tab, const String &p_title) {
|
|||
Control *child = _get_tab(p_tab);
|
||||
ERR_FAIL_COND(!child);
|
||||
child->set_meta("_tab_name", p_title);
|
||||
_refresh_texts();
|
||||
update();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue