1
0
mirror of https://github.com/slgobinath/SafeEyes.git synced 2025-01-19 02:49:51 +01:00

Fix status change during suspend

This commit is contained in:
Gobinath 2017-01-15 07:41:31 +05:30
parent f2403c7c72
commit 5b4e425841

View File

@ -174,6 +174,7 @@ def save_settings(config):
Listen to tray icon enable action and send the signal to core.
"""
def enable_safeeyes():
global is_active
is_active = True
core.start()
@ -181,6 +182,7 @@ def enable_safeeyes():
Listen to tray icon disable action and send the signal to core.
"""
def disable_safeeyes():
global is_active
is_active = False
core.stop()