diff --git a/openlp/plugins/presentations/lib/pdfcontroller.py b/openlp/plugins/presentations/lib/pdfcontroller.py index 6e29411bb..b58d8df4c 100644 --- a/openlp/plugins/presentations/lib/pdfcontroller.py +++ b/openlp/plugins/presentations/lib/pdfcontroller.py @@ -127,6 +127,9 @@ class PdfController(PresentationController): self.mudrawbin = program_path elif program_type == 'mutool': self.mutoolbin = program_path + elif PYMUPDF_AVAILABLE: + self.also_supports = ['xps', 'oxps'] + return True else: # Fallback to autodetection application_path = AppLocation.get_directory(AppLocation.AppDir) @@ -157,9 +160,6 @@ class PdfController(PresentationController): return True elif self.gsbin: return True - elif PYMUPDF_AVAILABLE: - self.also_supports = ['xps', 'oxps'] - return True return False def kill(self):