PrefUI & PrefWindow // Disable multiple selection.

This commit is contained in:
ShikiSuen 2022-10-15 14:54:30 +08:00
parent 595304a0b8
commit 4b08607608
2 changed files with 2 additions and 0 deletions

View File

@ -71,6 +71,7 @@ struct VwrPrefPaneDictionary: View {
Self.dlgOpenPath.showsResizeIndicator = true
Self.dlgOpenPath.showsHiddenFiles = true
Self.dlgOpenPath.canChooseFiles = false
Self.dlgOpenPath.allowsMultipleSelection = false
Self.dlgOpenPath.canChooseDirectories = true
let bolPreviousFolderValidity = LMMgr.checkIfSpecifiedUserDataFolderValid(

View File

@ -246,6 +246,7 @@ class CtlPrefWindow: NSWindowController {
dlgOpenPath.showsHiddenFiles = true
dlgOpenPath.canChooseFiles = false
dlgOpenPath.canChooseDirectories = true
dlgOpenPath.allowsMultipleSelection = false
let bolPreviousFolderValidity = LMMgr.checkIfSpecifiedUserDataFolderValid(
PrefMgr.shared.userDataFolderSpecified.expandingTildeInPath)