Fix unblocking of events

This commit is contained in:
Tim Bentley 2012-12-24 21:04:52 +00:00
parent b1f80c96ea
commit 933925647b

View File

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