mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
pass add_history argument into the page update action
This commit is contained in:
parent
8047b6ef48
commit
0db64561f0
8 changed files with 31 additions and 18 deletions
|
|
@ -104,15 +104,17 @@ Browser::Browser(
|
|||
// Tab page navigation actions
|
||||
add_action(
|
||||
"main_tab_page_navigation_update",
|
||||
[this]
|
||||
[this](const bool & ADD_HISTORY = false)
|
||||
{
|
||||
browserMain->tab_page_navigation_update();
|
||||
browserMain->tab_page_navigation_update(
|
||||
ADD_HISTORY
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
add_action(
|
||||
"main_tab_page_navigation_history_try_back",
|
||||
[this]
|
||||
[this]()
|
||||
{
|
||||
browserMain->tab_page_navigation_history_try_back();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue