toggle close active tab action status on refresh

This commit is contained in:
yggverse 2024-09-08 18:15:28 +03:00
parent ab8a8e3a64
commit 780fdd3004

View file

@ -52,6 +52,12 @@ void Tab::refresh(
tabPage->get_subtitle(),
0 // @TODO
);
action__tab_close_active->set_enabled(
get_n_pages() > 0
);
// @TODO toggle close all
}
void Tab::append(