1
0
Fork 0
mirror of synced 2024-06-28 11:11:15 +12:00

Fix rpc bug, rpc did not remove

This commit is contained in:
Dummerle 2021-04-17 11:26:43 +02:00
parent 20663f4992
commit db4355a546

View file

@ -67,7 +67,7 @@ class DiscordRPC(QObject):
self.update_rpc(app_name)
def update_rpc(self, app_name=None):
if self.settings.value("rpc_enable", 0, int) == 2 or (app_name is None and self.settings.value("rpc_enable", 0) == 0):
if self.settings.value("rpc_enable", 0, int) == 2 or (app_name is None and self.settings.value("rpc_enable", 0, int) == 0):
self.remove_rpc()
return
title = None