From ccc704ad8b5d209b267e5e8d27008d96e7392791 Mon Sep 17 00:00:00 2001 From: yggverse Date: Sat, 6 Jul 2024 07:15:37 +0300 Subject: [PATCH] update page on content update --- src/Entity/Browser/Container/Tab/Page/Content.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/Entity/Browser/Container/Tab/Page/Content.php b/src/Entity/Browser/Container/Tab/Page/Content.php index db07cf59..fac86b4f 100644 --- a/src/Entity/Browser/Container/Tab/Page/Content.php +++ b/src/Entity/Browser/Container/Tab/Page/Content.php @@ -59,7 +59,7 @@ class Content $this->page->navbar->request->gtk->get_text() ); - // Update title + // Init new title $this->page->title->setValue( $address->getHost() ); @@ -71,7 +71,7 @@ class Content $address->get() ); - // Refresh history in database + // Update history in database $this->page->tab->container->browser->database->renewHistory( $address->get(), // @TODO title @@ -283,6 +283,10 @@ class Content ); } + // Render content $this->gtk->show_all(); + + // Refresh page components + $this->page->refresh(); } } \ No newline at end of file