aboutsummaryrefslogtreecommitdiff
path: root/DWA140Menu/AppDelegate.swift
diff options
context:
space:
mode:
Diffstat (limited to 'DWA140Menu/AppDelegate.swift')
-rw-r--r--DWA140Menu/AppDelegate.swift4
1 files changed, 4 insertions, 0 deletions
diff --git a/DWA140Menu/AppDelegate.swift b/DWA140Menu/AppDelegate.swift
index adb93b3..28f62d1 100644
--- a/DWA140Menu/AppDelegate.swift
+++ b/DWA140Menu/AppDelegate.swift
@@ -127,6 +127,10 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSUserNotificationCenterDele
return true
}
+ func applicationDidFinishLaunching(_ notification: Notification) {
+ constructMenu()
+ }
+
func setStatusIcon(icon: String) {
if let button = statusItem.button {
if button.image?.name() != icon {