mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 18:28:12 +00:00
Ladybird/Tab: Handle "Dump History" action
This commit is contained in:
parent
612f7daf05
commit
22c3b8be7b
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