From 9b0ba4873b6978b5ef1cb837233b44d4c6fca718 Mon Sep 17 00:00:00 2001 From: yggverse Date: Fri, 12 Jul 2024 18:13:41 +0300 Subject: [PATCH] reorder initiation --- src/Entity/Browser/Container/Tab.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/Entity/Browser/Container/Tab.php b/src/Entity/Browser/Container/Tab.php index 1a71ae2c..78e5043d 100644 --- a/src/Entity/Browser/Container/Tab.php +++ b/src/Entity/Browser/Container/Tab.php @@ -103,13 +103,6 @@ class Tab $this->container ); - if ($request) - { - $page->open( - $request - ); - } - $this->gtk->append_page( $page->gtk, $page->title->gtk @@ -120,6 +113,13 @@ class Tab $this->_reorderable ); + if ($request) + { + $page->open( + $request + ); + } + if ($focus) { // Focus on appended tab