SessionCtl // Fix a conditioning in candidatePairSelected().
This commit is contained in:
parent
19b0b138f2
commit
272bfef227
|
@ -89,10 +89,12 @@ extension SessionCtl: CtlCandidateDelegate {
|
||||||
|
|
||||||
if [.ofCandidates, .ofSymbolTable].contains(state.type) {
|
if [.ofCandidates, .ofSymbolTable].contains(state.type) {
|
||||||
let selectedValue = state.candidates[index]
|
let selectedValue = state.candidates[index]
|
||||||
inputHandler.consolidateNode(
|
if state.type == .ofCandidates {
|
||||||
candidate: selectedValue, respectCursorPushing: true,
|
inputHandler.consolidateNode(
|
||||||
preConsolidate: PrefMgr.shared.consolidateContextOnCandidateSelection
|
candidate: selectedValue, respectCursorPushing: true,
|
||||||
)
|
preConsolidate: PrefMgr.shared.consolidateContextOnCandidateSelection
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
let inputting = inputHandler.generateStateOfInputting()
|
let inputting = inputHandler.generateStateOfInputting()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue