implement refresh method

This commit is contained in:
yggverse 2024-08-27 15:53:15 +03:00
parent c67435a0b8
commit 6823052b52
3 changed files with 11 additions and 0 deletions

View File

@ -99,6 +99,8 @@ Browser::Browser(
"refresh",
[this]
{
browserMain->refresh();
browserHeader->set_title(
browserMain->get_current_tab_label_text()
);

View File

@ -72,4 +72,11 @@ void Main::tab_close_right()
void Main::tab_close_all()
{
mainTab->close_all();
};
void Main::refresh()
{
mainTab->refresh(
mainTab->get_current_page()
);
};

View File

@ -29,6 +29,8 @@ namespace app::browser
void tab_close_right();
void tab_close();
void tab_update();
void refresh();
};
}