From 93f797244137fe8b8d40871ab7970159570662a3 Mon Sep 17 00:00:00 2001 From: Nate Weaver Date: Tue, 17 Sep 2019 13:58:45 -0500 Subject: [PATCH] Add some spacing around a comment --- Mac/AppDelegate.swift | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Mac/AppDelegate.swift b/Mac/AppDelegate.swift index fca38aae0..dd0276976 100644 --- a/Mac/AppDelegate.swift +++ b/Mac/AppDelegate.swift @@ -532,8 +532,11 @@ extension AppDelegate { @IBAction func toggleWebInspectorEnabled(_ sender: Any?) { let newValue = !AppDefaults.webInspectorEnabled AppDefaults.webInspectorEnabled = newValue + // An attached inspector can display incorrectly on certain setups (like mine); default to displaying in a separate window, - // and reset to a separate window when the preference is toggled off and on again in case the inspector is accidentally reattached. + // and reset the default to a separate window when the preference is toggled off and on again in case the inspector is + // accidentally reattached. + AppDefaults.webInspectorStartsAttached = false NotificationCenter.default.post(name: .WebInspectorEnabledDidChange, object: newValue) }