]> git.r.bdr.sh - rbdr/captura/blobdiff - Captura/Presentation/Windows/PreferencesWindow.swift
Adds configure support for URLs
[rbdr/captura] / Captura / Presentation / Windows / PreferencesWindow.swift
index 40eac0d319740606cedb60f5dfbfd3104e5808e1..6022be59201fb14f45917677763d8f49805ef2c9 100644 (file)
@@ -11,10 +11,11 @@ class PreferencesWindow: NSWindow {
       styleMask: [.titled, .closable, .resizable, .fullSizeContentView],
       backing: .buffered,
       defer: false)
-    super.center()
+    self.center()
     self.isReleasedWhenClosed = false
-    super.setFrameAutosaveName("Preferences Window")
-    super.contentView = NSHostingView(rootView: PreferencesScreen())
-    super.makeKeyAndOrderFront(nil)
+    self.setFrameAutosaveName("Preferences Window")
+    self.contentView = NSHostingView(rootView: PreferencesScreen())
+    self.makeKeyAndOrderFront(nil)
+    self.orderFrontRegardless()
   }
 }