mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 04:09:13 +00:00
Ladybird/Tab: Handle "Dump History" action
This commit is contained in:
parent
612f7daf05
commit
22c3b8be7b
Notes:
sideshowbarker
2024-07-17 08:55:54 +09:00
Author: https://github.com/moustafaraafat
Commit: 22c3b8be7b
Pull-request: https://github.com/SerenityOS/serenity/pull/16583
Reviewed-by: https://github.com/ADKaster
Reviewed-by: https://github.com/awesomekling ✅
Reviewed-by: https://github.com/linusg
1 changed files with 4 additions and 1 deletions
|
@ -154,7 +154,10 @@ int Tab::tab_index()
|
|||
|
||||
void Tab::debug_request(String const& request, String const& argument)
|
||||
{
|
||||
m_view->debug_request(request, argument);
|
||||
if (request == "dump-history")
|
||||
m_history.dump();
|
||||
else
|
||||
m_view->debug_request(request, argument);
|
||||
}
|
||||
|
||||
void Tab::resizeEvent(QResizeEvent* event)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue