Open the queue window before the document window

This commit is contained in:
Damiano Galassi committed 2018-02-19 10:54:06 +01:00
1 parent fc35684917
commit 13ea0577ef
1 file changed
+3 -2
+3 -2
View File
@@ -142,15 +142,16 @@ class AppDelegate: NSObject, NSApplicationDelegate {
logger.clear()
MP42File.setGlobalLogger(logger)
}
func applicationDidFinishLaunching(_ notification: Notification) {
_ = SBQueueController.sharedManager
if UserDefaults.standard.bool(forKey: "SBShowQueueWindow") {
SBQueueController.sharedManager.showWindow(self)
}
}
func applicationDidFinishLaunching(_ notification: Notification) {
runDonateAlert()
}
func applicationShouldTerminate(_ sender: NSApplication) -> NSApplication.TerminateReply {