diff --git a/src/Entity/Browser/Menu/Tab/Close.php b/src/Entity/Browser/Menu/Tab/Close.php index 2fffb9a6..612db34c 100644 --- a/src/Entity/Browser/Menu/Tab/Close.php +++ b/src/Entity/Browser/Menu/Tab/Close.php @@ -30,7 +30,11 @@ class Close 'activate', function() { - // @TODO + $this->tab->menu->browser->container->tab->gtk->remove_page( + $this->tab->menu->browser->container->tab->gtk->get_current_page() + ); + + // @TODO unset page entity } ); }