CtlCandidate // Only reload data with states of candidate containers.
This commit is contained in:
parent
6229f7deaf
commit
035893838c
|
@ -42,7 +42,8 @@ open class CtlCandidate: NSWindowController, CtlCandidateProtocol {
|
|||
|
||||
open var delegate: CtlCandidateDelegate? {
|
||||
didSet {
|
||||
reloadData()
|
||||
guard let delegate = delegate else { return }
|
||||
if delegate.isCandidateState { reloadData() }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue