Allow selecting an OPML file that has a .xml file extension. Fix #355.

This commit is contained in:
Brent Simmons 2018-09-02 11:48:59 -07:00
parent bcacd31135
commit b4e711746d
1 changed files with 1 additions and 1 deletions

View File

@ -352,7 +352,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSUserInterfaceValidations,
panel.allowsMultipleSelection = false panel.allowsMultipleSelection = false
panel.canChooseDirectories = false panel.canChooseDirectories = false
panel.resolvesAliases = true panel.resolvesAliases = true
panel.allowedFileTypes = ["opml"] panel.allowedFileTypes = ["opml", "xml"]
panel.allowsOtherFileTypes = false panel.allowsOtherFileTypes = false
let result = panel.runModal() let result = panel.runModal()