forked from openlp/openlp
fixes
This commit is contained in:
parent
4316245f36
commit
0f538250b9
@ -194,7 +194,7 @@ class ListPreviewWidget(QtWidgets.QTableWidget, RegistryProperties):
|
||||
image = self.image_manager.get_image(frame['image'], ImageSource.CommandPlugins)
|
||||
pixmap = QtGui.QPixmap.fromImage(image)
|
||||
else:
|
||||
pixmap = None # frame['image'].pixmap(80, 80)
|
||||
pixmap = frame['image'].pixmap(80, 80)
|
||||
else:
|
||||
image = self.image_manager.get_image(frame['path'], ImageSource.ImagePlugin)
|
||||
pixmap = QtGui.QPixmap.fromImage(image)
|
||||
|
@ -678,6 +678,7 @@ class TestSlideController(TestCase):
|
||||
slide_controller.service_item = mocked_pres_item
|
||||
slide_controller.is_live = False
|
||||
slide_controller.preview_widget = MagicMock()
|
||||
slide_controller.preview_display = MagicMock()
|
||||
slide_controller.enable_tool_bar = MagicMock()
|
||||
slide_controller.on_media_start = MagicMock()
|
||||
slide_controller.slide_selected = MagicMock()
|
||||
|
Loading…
Reference in New Issue
Block a user