forked from openlp/openlp
fix
This commit is contained in:
parent
5cce4c9443
commit
39d691d2eb
@ -694,9 +694,8 @@ class SlideController(DisplayController):
|
|||||||
|
|
||||||
def addServiceManagerItem(self, item, slideno):
|
def addServiceManagerItem(self, item, slideno):
|
||||||
"""
|
"""
|
||||||
Method to install the service item into the controller and
|
Method to install the service item into the controller and request the correct toolbar for the plugin. Called by
|
||||||
request the correct toolbar for the plugin.
|
:class:`~openlp.core.ui.ServiceManager`
|
||||||
Called by ServiceManager
|
|
||||||
"""
|
"""
|
||||||
log.debug(u'addServiceManagerItem live = %s' % self.is_live)
|
log.debug(u'addServiceManagerItem live = %s' % self.is_live)
|
||||||
# If no valid slide number is specified we take the first one, but we
|
# If no valid slide number is specified we take the first one, but we
|
||||||
@ -721,8 +720,7 @@ class SlideController(DisplayController):
|
|||||||
|
|
||||||
def _process_item(self, service_item, slideno):
|
def _process_item(self, service_item, slideno):
|
||||||
"""
|
"""
|
||||||
Loads a ServiceItem into the system from ServiceManager
|
Loads a ServiceItem into the system from ServiceManager. Display the slide number passed.
|
||||||
Display the slide number passed
|
|
||||||
"""
|
"""
|
||||||
log.debug(u'processManagerItem live = %s' % self.is_live)
|
log.debug(u'processManagerItem live = %s' % self.is_live)
|
||||||
self.on_stop_loop()
|
self.on_stop_loop()
|
||||||
@ -758,7 +756,7 @@ class SlideController(DisplayController):
|
|||||||
self.setAudioItemsVisibility(True)
|
self.setAudioItemsVisibility(True)
|
||||||
row = 0
|
row = 0
|
||||||
text = []
|
text = []
|
||||||
width = self.main_window.controlSplitter.sizes()[self.split]
|
width = self.main_window.control_splitter.sizes()[self.split]
|
||||||
for framenumber, frame in enumerate(self.service_item.get_frames()):
|
for framenumber, frame in enumerate(self.service_item.get_frames()):
|
||||||
slideHeight = 0
|
slideHeight = 0
|
||||||
if self.service_item.is_text():
|
if self.service_item.is_text():
|
||||||
|
Loading…
Reference in New Issue
Block a user