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
Notes: sideshowbarker 2024-07-17 08:55:54 +09:00

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)