Skip to content

Commit

Permalink
fix preferences window
Browse files Browse the repository at this point in the history
  • Loading branch information
Mortennn committed Jul 9, 2020
1 parent a734324 commit 78eafac
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions Dozer/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ final class AppDelegate: NSObject, NSApplicationDelegate {
DozerIcons.shared.toggle()
}

preferencesWindowController.show(preferencePane: .general)

// Initalize Dozer Icons
_ = DozerIcons.shared
if DozerIcons.shared.hideStatusBarIconsAtLaunch {
Expand Down
2 changes: 1 addition & 1 deletion Dozer/ViewControllers/GeneralVC.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import Sparkle
import Defaults

final class General: NSViewController, PreferencePane {
let preferencePaneIdentifier = Preferences.PaneIdentifier.dozer
let preferencePaneIdentifier = Preferences.PaneIdentifier.general
let preferencePaneTitle: String = "General"
let toolbarItemIcon = NSImage(named: NSImage.preferencesGeneralName)!

Expand Down

0 comments on commit 78eafac

Please sign in to comment.