mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 12:17:35 +00:00
Ladybird: Don't push to history when loading through history navigation
Previously we were always pushing to history on the on_load_start callback. Now we only do that if we are NOT navigating through the history navigation (loading pages by going back/forward). This is what the SerenityOS browser does:^)
This commit is contained in:
parent
982174706b
commit
eaff4a1d65
2 changed files with 11 additions and 1 deletions
|
@ -64,4 +64,6 @@ private:
|
|||
OwnPtr<QAction> m_reload_action;
|
||||
|
||||
int tab_index();
|
||||
|
||||
bool m_is_history_navigation { false };
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue