LibWebView: Remove early exit in InspectorClient::inspect()

This early exit prevents to show the current DOM in the inspector, when
the inspector was already opened.

Fixes #990
This commit is contained in:
simonkrauter
2024-08-07 12:14:32 -03:00
committed by Sam Atkins
parent 7a783d3a89
commit dd5550dde3

View File

@@ -194,8 +194,6 @@ void InspectorClient::inspect()
{
if (!m_inspector_loaded)
return;
if (m_dom_tree_loaded)
return;
m_content_web_view.inspect_dom_tree();
m_content_web_view.inspect_accessibility_tree();