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

@ -108,11 +108,14 @@ void Tab::close_all()
}
void Tab::page_navigation_update(
const int & PAGE_NUMBER
const int & PAGE_NUMBER,
const bool & ADD_HISTORY
) {
get_tabPage(
PAGE_NUMBER
)->navigation_update();
)->navigation_update(
ADD_HISTORY
);
}
bool Tab::page_navigation_history_try_back(