mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-29 06:02:07 +03: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: https://github.com/SerenityOS/serenity/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
@ -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…
Reference in New Issue
Block a user