From 93802a58983cbe83ad76c318ea553f7746fe017b Mon Sep 17 00:00:00 2001 From: yggverse Date: Tue, 27 Aug 2024 15:10:11 +0300 Subject: [PATCH] implement refresh method --- src/app/browser/main/tab/page.cpp | 5 +++++ src/app/browser/main/tab/page.hpp | 1 + 2 files changed, 6 insertions(+) diff --git a/src/app/browser/main/tab/page.cpp b/src/app/browser/main/tab/page.cpp index 00f3185f..87e944ac 100644 --- a/src/app/browser/main/tab/page.cpp +++ b/src/app/browser/main/tab/page.cpp @@ -81,6 +81,11 @@ Glib::ustring Page::get_subtitle() } // Actions +void Page::refresh() +{ + pageNavbar->refresh(); +} + void Page::update() { title = _("Loading.."); diff --git a/src/app/browser/main/tab/page.hpp b/src/app/browser/main/tab/page.hpp index 25e317c0..19131c1b 100644 --- a/src/app/browser/main/tab/page.hpp +++ b/src/app/browser/main/tab/page.hpp @@ -55,6 +55,7 @@ namespace app::browser::main::tab Glib::ustring get_subtitle(); // Actions + void refresh(); void update(); }; }