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

@ -74,10 +74,12 @@ void Main::tab_close_all()
mainTab->close_all();
};
void Main::tab_page_navigation_update()
{
void Main::tab_page_navigation_update(
const bool & ADD_HISTORY
) {
mainTab->page_navigation_update(
mainTab->get_current_page()
mainTab->get_current_page(),
ADD_HISTORY
);
};