pass add_history argument into the page update action

This commit is contained in:
yggverse 2024-09-05 18:20:47 +03:00
parent 8047b6ef48
commit 0db64561f0
8 changed files with 31 additions and 18 deletions

View file

@ -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();
}