diff --git a/src/Entity/Browser/Container/Tab.php b/src/Entity/Browser/Container/Tab.php index e1fe0852..a82e3751 100644 --- a/src/Entity/Browser/Container/Tab.php +++ b/src/Entity/Browser/Container/Tab.php @@ -4,6 +4,8 @@ declare(strict_types=1); namespace Yggverse\Yoda\Entity\Browser\Container; +use \Yggverse\Yoda\Entity\Browser\Container\Tab\Page; + class Tab { public \GtkNotebook $gtk; @@ -70,7 +72,7 @@ class Tab bool $focus = true ): void { - $page = new \Yggverse\Yoda\Entity\Browser\Container\Tab\Page( + $page = new Page( $this );