Fix tray icon changing upon notification

This commit is contained in:
Dmitri Bogomolov 2021-02-19 22:21:22 +02:00
parent 4480d5d1dd
commit 229cf1ded9
Signed by untrusted user: g1itch
GPG Key ID: 720A756F18DEED13

View File

@ -1413,7 +1413,8 @@ class MyForm(settingsmixin.SMainWindow):
def notifierInit(self):
def _simple_notify(
title, subtitle, category, label=None, icon=None):
self.tray.showMessage(title, subtitle, 1, 2000)
self.tray.showMessage(
title, subtitle, self.tray.NoIcon, msecs=2000)
self._notifier = _simple_notify