Reset buttons_visible to false while tabs is empty in TabBar::_update_cache
This commit is contained in:
parent
1f690f197a
commit
a3b23f6b67
1 changed files with 1 additions and 0 deletions
|
@ -862,6 +862,7 @@ void TabBar::_update_hover() {
|
||||||
|
|
||||||
void TabBar::_update_cache() {
|
void TabBar::_update_cache() {
|
||||||
if (tabs.is_empty()) {
|
if (tabs.is_empty()) {
|
||||||
|
buttons_visible = false;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue