Merge pull request #61489 from Rindbee/reset-buttons_visible-to-false-if-tabs-is-empty

Reset buttons_visible to false while tabs is empty in TabBar::_update_cache
This commit is contained in:
Rémi Verschelde 2022-05-31 12:19:36 +02:00 committed by GitHub
commit cea54a0357
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -862,6 +862,7 @@ void TabBar::_update_hover() {
void TabBar::_update_cache() {
if (tabs.is_empty()) {
buttons_visible = false;
return;
}