mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-29 10:12:38 +02:00
Fix open in Preview for macOS
This commit is contained in:
parent
babcd62071
commit
3f76211459
1 changed files with 25 additions and 26 deletions
|
@ -46,7 +46,6 @@ class GuiCommon(object):
|
|||
return QtGui.QIcon(path)
|
||||
|
||||
def open_pdf_viewer(self, filename):
|
||||
if self.global_common.settings.get("open_app") in self.pdf_viewers:
|
||||
if platform.system() == "Darwin":
|
||||
# Open in Preview
|
||||
args = ["open", "-a", "Preview.app", filename]
|
||||
|
|
Loading…
Reference in a new issue