update window title on tab change

This commit is contained in:
yggverse 2024-04-13 10:01:06 +03:00
parent 2fe9de0163
commit 89cd368806

View file

@ -83,6 +83,10 @@ class App
'switch-page',
function ($tabs, $child, $position)
{
$this->setTitle(
$tabs->get_tab_label_text($child)
);
if ('+' == $tabs->get_tab_label_text($child))
{
$page = $this->blankPage();