Merge pull request #47008 from pycbouh/tab-container-stale-texts

Fix stale tab names in TabContainer
This commit is contained in:
Rémi Verschelde 2021-03-14 21:59:42 +01:00 committed by GitHub
commit e726bf95e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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();
}