mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 17:45:28 +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
|
// Update navigation history
|
||||||
|
if (HISTORY)
|
||||||
|
{
|
||||||
pageNavbar->history_add(
|
pageNavbar->history_add(
|
||||||
pageNavbar->get_request_text()
|
pageNavbar->get_request_text()
|
||||||
);
|
);
|
||||||
|
}
|
||||||
|
|
||||||
// Update page extras
|
// Update page extras
|
||||||
refresh(
|
refresh(
|
||||||
|
|
|
||||||
|
|
@ -63,7 +63,9 @@ namespace app::browser::main::tab
|
||||||
const double & PROGRESS
|
const double & PROGRESS
|
||||||
);
|
);
|
||||||
|
|
||||||
void update();
|
void update(
|
||||||
|
const bool & HISTORY = false
|
||||||
|
);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue