forked from openlp/openlp
Two text fixes and a PDF startup error
This commit is contained in:
parent
0b739159b1
commit
a9f2bf1461
@ -256,7 +256,7 @@ class ScreenList(metaclass=Singleton):
|
||||
for number, screen_dict in screen_settings.items():
|
||||
# Sometimes this loads as a string instead of an int
|
||||
number = int(number)
|
||||
# Compare geometry, primarity of screen from settings with avilable screens
|
||||
# Compare geometry, primary of screen from settings with available screens
|
||||
if self.has_screen(screen_dict):
|
||||
# If match was found, we're all happy, update with custom geometry, display info, if available
|
||||
self[number].update(screen_dict)
|
||||
|
@ -137,7 +137,9 @@ class PresentationPlugin(Plugin):
|
||||
super().app_startup()
|
||||
presentation_paths = self.settings.value('presentations/presentations files')
|
||||
for path in presentation_paths:
|
||||
self.media_item.clean_up_thumbnails(path, clean_for_update=True)
|
||||
# check to see if the file exists before trying to process it.
|
||||
if path.exists():
|
||||
self.media_item.clean_up_thumbnails(path, clean_for_update=True)
|
||||
self.media_item.list_view.clear()
|
||||
# Update the thumbnail scheme if needed
|
||||
if self.settings.value('presentations/thumbnail_scheme') != 'sha256file':
|
||||
|
Loading…
Reference in New Issue
Block a user