mirror of
https://github.com/RGBCube/serenity
synced 2025-05-30 23:28:12 +00:00
Browser: Stop reloads from pushing to history
This commit is contained in:
parent
131f14ed62
commit
889a60a6ed
1 changed files with 1 additions and 0 deletions
|
@ -77,6 +77,7 @@ int main(int argc, char** argv)
|
|||
}));
|
||||
|
||||
toolbar->add_action(GCommonActions::make_reload_action([&](auto&) {
|
||||
TemporaryChange<bool> change(should_push_loads_to_history, false);
|
||||
html_widget->reload();
|
||||
}));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue