Fix unblocking of events

This commit is contained in:
Tim Bentley 2012-12-24 21:04:52 +00:00
parent b1f80c96ea
commit 933925647b
1 changed files with 2 additions and 0 deletions

View File

@ -488,6 +488,8 @@ class MediaController(object):
controller.volumeSlider.blockSignals(True)
display = self._define_display(controller)
if not self.currentMediaPlayer[controller.controllerType].play(display):
controller.seekSlider.blockSignals(False)
controller.volumeSlider.blockSignals(False)
return False
if controller.media_info.is_background:
self.media_volume(controller, 0)