Fixed issue with notifications during Socializer startup

This commit is contained in:
2019-11-25 08:33:57 -06:00
parent c19fbf40a0
commit c468147db0
2 changed files with 2 additions and 1 deletions

View File

@@ -504,7 +504,7 @@ class Controller(object):
Native notifications are made with WX and don't have sound, while custom notifications have sound but are not displayed in the window.
"""
if type == "native":
self.window.notify(_("Socializer"), message)
wx.CallAfter(self.window.notify, _("Socializer"), message)
else:
if sound != "":
self.session.soundplayer.play(sound)