From 229cf1ded90d07ba8438da535cc149a522608be5 Mon Sep 17 00:00:00 2001 From: Dmitri Bogomolov <4glitch@gmail.com> Date: Fri, 19 Feb 2021 22:21:22 +0200 Subject: [PATCH] Fix tray icon changing upon notification --- src/bitmessageqt/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bitmessageqt/__init__.py b/src/bitmessageqt/__init__.py index a175402d..1f2266e6 100644 --- a/src/bitmessageqt/__init__.py +++ b/src/bitmessageqt/__init__.py @@ -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