1
Fork 0
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:
Moustafa Raafat 2022-10-03 22:53:04 +01:00 committed by Andrew Kaster
parent 612f7daf05
commit 22c3b8be7b

View file

@ -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)