mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-03-13 06:01:21 +00:00
add history argument
This commit is contained in:
parent
de40ed8892
commit
d812e59794
@ -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…
x
Reference in New Issue
Block a user