fix missing resize)

This commit is contained in:
Tim Bentley 2016-02-20 11:51:58 +00:00
parent 3e522186ec
commit 334eb6c8c5
2 changed files with 2 additions and 2 deletions

View File

@ -110,7 +110,7 @@ class UiStrings(object):
self.NISp = translate('OpenLP.Ui', 'No Items Selected', 'Plural')
self.OLP = translate('OpenLP.Ui', 'OpenLP')
self.OLPV2 = "%s %s" % (self.OLP, "2")
self.OLPV2x = "%s %s" % (self.OLP, "2.4")
self.OLPV2x = "%s %s" % (self.OLP, "2.6")
self.OpenLPStart = translate('OpenLP.Ui', 'OpenLP is already running. Do you wish to continue?')
self.OpenService = translate('OpenLP.Ui', 'Open service.')
self.PlaySlidesInLoop = translate('OpenLP.Ui', 'Play Slides in Loop')

View File

@ -590,7 +590,7 @@ class MediaController(RegistryMixin, OpenLPMixin, RegistryProperties):
if title == 'system':
if not controller.media_info.is_background or controller.media_info.is_background and \
player.can_background:
self.resize(display, player)
self.resize(display, player[controller.controller_type])
if player.load(display):
self.current_media_players[controller.controller_type] = player
controller.media_info.media_type = MediaType.Video