mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-30 13:04:13 +00:00
implement refresh method
This commit is contained in:
parent
c67435a0b8
commit
6823052b52
@ -99,6 +99,8 @@ Browser::Browser(
|
||||
"refresh",
|
||||
[this]
|
||||
{
|
||||
browserMain->refresh();
|
||||
|
||||
browserHeader->set_title(
|
||||
browserMain->get_current_tab_label_text()
|
||||
);
|
||||
|
@ -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()
|
||||
);
|
||||
};
|
@ -29,6 +29,8 @@ namespace app::browser
|
||||
void tab_close_right();
|
||||
void tab_close();
|
||||
void tab_update();
|
||||
|
||||
void refresh();
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user