forked from openlp/openlp
Correct a preview_list_widget -> preview_widget call and fix update of preview when switching the service item.
This commit is contained in:
parent
1bbf52c7bf
commit
d687288336
@ -1379,7 +1379,7 @@ class ServiceManager(QtGui.QWidget, ServiceManagerDialog):
|
||||
self.preview_controller.addServiceManagerItem(self.service_items[item][u'service_item'], 0)
|
||||
next_item = self.service_manager_list.topLevelItem(item)
|
||||
self.service_manager_list.setCurrentItem(next_item)
|
||||
self.live_controller.preview_list_widget.setFocus()
|
||||
self.live_controller.preview_widget.get_preview_widget().setFocus()
|
||||
else:
|
||||
critical_error_message_box(translate('OpenLP.ServiceManager', 'Missing Display Handler'),
|
||||
translate('OpenLP.ServiceManager',
|
||||
|
@ -777,8 +777,8 @@ class SlideController(DisplayController):
|
||||
slideHeight = width * (1 / self.ratio)
|
||||
row += 1
|
||||
self.slideList[unicode(row)] = row - 1
|
||||
self.preview_widget.update_preview_selection(slideno)
|
||||
self.preview_widget.replace_service_manager_item(self.service_item, width, self.ratio, slideno)
|
||||
self.preview_widget.update_preview_selection(slideno)
|
||||
self.enableToolBar(service_item)
|
||||
# Pass to display for viewing.
|
||||
# Postpone image build, we need to do this later to avoid the theme
|
||||
|
Loading…
Reference in New Issue
Block a user