Browse Source

update window title on tab change

main
yggverse 2 months ago
parent
commit
89cd368806
  1. 4
      src/Entity/App.php

4
src/Entity/App.php

@ -83,6 +83,10 @@ class App @@ -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();

Loading…
Cancel
Save