Always honour 'Show OSD Warnings' being disabled

This commit is contained in:
Et0h 2014-12-30 14:09:36 +00:00
parent 9d287670ec
commit 0763479d1b

View File

@ -942,6 +942,8 @@ class UiManager(object):
self.__ui.showUserList(currentUser, rooms)
def showOSDMessage(self, message, duration=constants.OSD_DURATION, secondaryOSD=False):
if secondaryOSD and not constants.SHOW_OSD_WARNINGS:
return
if constants.SHOW_OSD and self._client and self._client._player:
if not self._client._player.secondaryOSDSupported:
if secondaryOSD: