From 13ea0577efaed49c43736381c3ced1f1791a8ccd Mon Sep 17 00:00:00 2001 From: Damiano Galassi Date: Mon, 19 Feb 2018 10:54:06 +0100 Subject: [PATCH] Open the queue window before the document window --- Classes/AppDelegate.swift | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Classes/AppDelegate.swift b/Classes/AppDelegate.swift index 3a443bb..de1794c 100644 --- a/Classes/AppDelegate.swift +++ b/Classes/AppDelegate.swift @@ -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 {