diff --git a/dangerzone/doc_selection_widget.py b/dangerzone/doc_selection_widget.py index 44b3b8e..5609135 100644 --- a/dangerzone/doc_selection_widget.py +++ b/dangerzone/doc_selection_widget.py @@ -35,7 +35,7 @@ class DocSelectionWidget(QtWidgets.QWidget): filename = QtWidgets.QFileDialog.getOpenFileName( self, "Open document", - filter="Documents (*.pdf *.docx *.doc *.docm *.xlsx *.xls *.pptx *.ppt *.odt *.odg *.odp *.ops *.jpg *.jpeg *.gif *.png *.tif *.tiff)", + filter="Documents (*.pdf *.docx *.doc *.docm *.xlsx *.xls *.pptx *.ppt *.odt *.odg *.odp *.ods *.jpg *.jpeg *.gif *.png *.tif *.tiff)", ) if filename[0] != "": filename = filename[0] diff --git a/install/pyinstaller/pyinstaller.spec b/install/pyinstaller/pyinstaller.spec index e4d3203..20b5449 100644 --- a/install/pyinstaller/pyinstaller.spec +++ b/install/pyinstaller/pyinstaller.spec @@ -110,7 +110,7 @@ if p == "Darwin": "CFBundleTypeRole": "Viewer", }, { - "CFBundleTypeExtensions": ["odg"], + "CFBundleTypeExtensions": ["odt"], "CFBundleTypeIconFile": "../macos/document.icns", "CFBundleTypeMIMETypes": [ "application/vnd.oasis.opendocument.text" @@ -119,7 +119,7 @@ if p == "Darwin": "CFBundleTypeRole": "Viewer", }, { - "CFBundleTypeExtensions": ["ops"], + "CFBundleTypeExtensions": ["ods"], "CFBundleTypeIconFile": "../macos/document.icns", "CFBundleTypeMIMETypes": [ "application/vnd.oasis.opendocument.spreadsheet"