Fix systemtray from stopping properly when appindicator is enabled
This commit is contained in:
parent
ce406674ec
commit
cebdc89b18
@ -192,7 +192,7 @@ class SystemTray(component.Component):
|
|||||||
self.__start()
|
self.__start()
|
||||||
|
|
||||||
def stop(self):
|
def stop(self):
|
||||||
if self.config["enable_system_tray"]:
|
if self.config["enable_system_tray"] and not self.config["enable_appindicator"]:
|
||||||
try:
|
try:
|
||||||
# Hide widgets in hide list because we're not connected to a host
|
# Hide widgets in hide list because we're not connected to a host
|
||||||
for widget in self.hide_widget_list:
|
for widget in self.hide_widget_list:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user