mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-07 19:57:45 +03:00
Browser: Stop reloads from pushing to history
This commit is contained in:
parent
131f14ed62
commit
889a60a6ed
Notes:
sideshowbarker
2024-07-19 10:44:41 +09:00
Author: https://github.com/shannonbooth Commit: https://github.com/SerenityOS/serenity/commit/889a60a6eda Pull-request: https://github.com/SerenityOS/serenity/pull/903
@ -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…
Reference in New Issue
Block a user