Allow selecting an OPML file that has a .xml file extension. Fix #355.
This commit is contained in:
parent
bcacd31135
commit
b4e711746d
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue