Fix toggle startup in MacOS system tray menu

This commit is contained in:
JonnyWong16
2020-04-25 20:49:33 -07:00
parent 8226a14b00
commit eb6cb60ee3

View File

@@ -75,7 +75,7 @@ class MacOSSystemTray(object):
def tray_startup(self, tray_icon): def tray_startup(self, tray_icon):
plexpy.CONFIG.LAUNCH_STARTUP = not plexpy.CONFIG.LAUNCH_STARTUP plexpy.CONFIG.LAUNCH_STARTUP = not plexpy.CONFIG.LAUNCH_STARTUP
tray_icon.state = plexpy.CONFIG.LAUNCH_STARTUP set_startup()
def tray_check_update(self, tray_icon): def tray_check_update(self, tray_icon):
versioncheck.check_update() versioncheck.check_update()