Fix open in Preview for macOS

This commit is contained in:
Micah Lee 2021-07-02 13:48:20 -07:00
parent babcd62071
commit 3f76211459
No known key found for this signature in database
GPG key ID: 403C2657CD994F73

View file

@ -46,7 +46,6 @@ class GuiCommon(object):
return QtGui.QIcon(path) return QtGui.QIcon(path)
def open_pdf_viewer(self, filename): def open_pdf_viewer(self, filename):
if self.global_common.settings.get("open_app") in self.pdf_viewers:
if platform.system() == "Darwin": if platform.system() == "Darwin":
# Open in Preview # Open in Preview
args = ["open", "-a", "Preview.app", filename] args = ["open", "-a", "Preview.app", filename]