Show inspector after creating it

This commit is contained in:
Florian Bruhin 2018-06-24 19:57:52 +02:00
parent e6e844b039
commit f5e69b2174

View File

@ -1455,6 +1455,7 @@ class CommandDispatcher:
if tab.data.inspector is None:
tab.data.inspector = inspector.create()
tab.data.inspector.inspect(page)
tab.data.inspector.show()
else:
tab.data.inspector.toggle(page)
except inspector.WebInspectorError as e: