ClientMgr // Apply already-entered identifiers when calling COMDLG32.
This commit is contained in:
parent
80ee644c54
commit
be3ccb52f4
|
@ -79,11 +79,11 @@ extension ctlClientListMgr {
|
|||
alert.accessoryView = scrollview
|
||||
alert.beginSheetModal(for: window) { result in
|
||||
switch result {
|
||||
case .alertFirstButtonReturn:
|
||||
case .alertFirstButtonReturn, .alertSecondButtonReturn:
|
||||
theTextView.textContainer?.textView?.string.components(separatedBy: "\n").filter { !$0.isEmpty }.forEach {
|
||||
self.applyNewValue($0)
|
||||
}
|
||||
case .alertSecondButtonReturn:
|
||||
if result == .alertFirstButtonReturn { break }
|
||||
IME.dlgOpenPath.title = NSLocalizedString(
|
||||
"Choose the target application bundle.", comment: ""
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue