Open the inspector at startup without doing an async block.

This commit is contained in:
Brent Simmons 2018-01-21 13:30:26 -08:00
parent 5a75d39b7c
commit 8a2973de36

View File

@ -139,10 +139,8 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSUserInterfaceValidations,
} }
if InspectorWindowController.shouldOpenAtStartup { if InspectorWindowController.shouldOpenAtStartup {
DispatchQueue.main.async {
self.toggleInspectorWindow(self) self.toggleInspectorWindow(self)
} }
}
#if RELEASE #if RELEASE
DispatchQueue.main.async { DispatchQueue.main.async {