Always honour 'Show OSD Warnings' being disabled
This commit is contained in:
parent
9d287670ec
commit
0763479d1b
@ -942,6 +942,8 @@ class UiManager(object):
|
|||||||
self.__ui.showUserList(currentUser, rooms)
|
self.__ui.showUserList(currentUser, rooms)
|
||||||
|
|
||||||
def showOSDMessage(self, message, duration=constants.OSD_DURATION, secondaryOSD=False):
|
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 constants.SHOW_OSD and self._client and self._client._player:
|
||||||
if not self._client._player.secondaryOSDSupported:
|
if not self._client._player.secondaryOSDSupported:
|
||||||
if secondaryOSD:
|
if secondaryOSD:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user