Browse Source

update window title on tab change

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

4
src/Entity/App.php

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

Loading…
Cancel
Save