forked from openlp/openlp
fix missing resize)
This commit is contained in:
parent
3e522186ec
commit
334eb6c8c5
@ -110,7 +110,7 @@ class UiStrings(object):
|
|||||||
self.NISp = translate('OpenLP.Ui', 'No Items Selected', 'Plural')
|
self.NISp = translate('OpenLP.Ui', 'No Items Selected', 'Plural')
|
||||||
self.OLP = translate('OpenLP.Ui', 'OpenLP')
|
self.OLP = translate('OpenLP.Ui', 'OpenLP')
|
||||||
self.OLPV2 = "%s %s" % (self.OLP, "2")
|
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.OpenLPStart = translate('OpenLP.Ui', 'OpenLP is already running. Do you wish to continue?')
|
||||||
self.OpenService = translate('OpenLP.Ui', 'Open service.')
|
self.OpenService = translate('OpenLP.Ui', 'Open service.')
|
||||||
self.PlaySlidesInLoop = translate('OpenLP.Ui', 'Play Slides in Loop')
|
self.PlaySlidesInLoop = translate('OpenLP.Ui', 'Play Slides in Loop')
|
||||||
|
@ -590,7 +590,7 @@ class MediaController(RegistryMixin, OpenLPMixin, RegistryProperties):
|
|||||||
if title == 'system':
|
if title == 'system':
|
||||||
if not controller.media_info.is_background or controller.media_info.is_background and \
|
if not controller.media_info.is_background or controller.media_info.is_background and \
|
||||||
player.can_background:
|
player.can_background:
|
||||||
self.resize(display, player)
|
self.resize(display, player[controller.controller_type])
|
||||||
if player.load(display):
|
if player.load(display):
|
||||||
self.current_media_players[controller.controller_type] = player
|
self.current_media_players[controller.controller_type] = player
|
||||||
controller.media_info.media_type = MediaType.Video
|
controller.media_info.media_type = MediaType.Video
|
||||||
|
Loading…
Reference in New Issue
Block a user