mirror of
https://github.com/coteditor/CotEditor.git
synced 2024-09-20 23:58:08 +03:00
Remove needless delegate reset
This commit is contained in:
parent
a8bc873e90
commit
09435deca5
@ -55,7 +55,6 @@ struct FilterField: NSViewRepresentable {
|
||||
func updateNSView(_ nsView: NSSearchField, context: Context) {
|
||||
|
||||
nsView.stringValue = self.text
|
||||
nsView.delegate = context.coordinator
|
||||
nsView.recentsAutosaveName = self.autosaveName
|
||||
}
|
||||
|
||||
|
@ -74,7 +74,6 @@ struct RegexTextField: NSViewRepresentable {
|
||||
func updateNSView(_ nsView: NSTextField, context: Context) {
|
||||
|
||||
nsView.stringValue = self.text
|
||||
nsView.delegate = context.coordinator
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user