forked from openlp/openlp
fixed clean up mistake
This commit is contained in:
parent
f01252c23b
commit
1869fd7593
@ -496,7 +496,7 @@ class MediaController(object):
|
|||||||
controller = self.parent.liveController
|
controller = self.parent.liveController
|
||||||
for display in self.curDisplayMediaPlayer.keys():
|
for display in self.curDisplayMediaPlayer.keys():
|
||||||
if display.controller != controller or \
|
if display.controller != controller or \
|
||||||
self.curDisplayMediaPlayer[display].state == MediaState.Playing:
|
self.curDisplayMediaPlayer[display].state != MediaState.Playing:
|
||||||
continue
|
continue
|
||||||
self.curDisplayMediaPlayer[display].pause(display)
|
self.curDisplayMediaPlayer[display].pause(display)
|
||||||
self.curDisplayMediaPlayer[display].set_visible(display, False)
|
self.curDisplayMediaPlayer[display].set_visible(display, False)
|
||||||
|
Loading…
Reference in New Issue
Block a user