mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
add history argument
This commit is contained in:
parent
de40ed8892
commit
d812e59794
2 changed files with 12 additions and 6 deletions
|
|
@ -101,12 +101,16 @@ void Page::refresh(
|
|||
);
|
||||
}
|
||||
|
||||
void Page::update()
|
||||
{
|
||||
void Page::update(
|
||||
const bool & HISTORY
|
||||
) {
|
||||
// Update navigation history
|
||||
pageNavbar->history_add(
|
||||
pageNavbar->get_request_text()
|
||||
);
|
||||
if (HISTORY)
|
||||
{
|
||||
pageNavbar->history_add(
|
||||
pageNavbar->get_request_text()
|
||||
);
|
||||
}
|
||||
|
||||
// Update page extras
|
||||
refresh(
|
||||
|
|
|
|||
|
|
@ -63,7 +63,9 @@ namespace app::browser::main::tab
|
|||
const double & PROGRESS
|
||||
);
|
||||
|
||||
void update();
|
||||
void update(
|
||||
const bool & HISTORY = false
|
||||
);
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue