This commit is contained in:
Dmitry Vasilev
2022-11-15 15:03:19 +08:00
parent 7723d7d09d
commit b6942d846b
2 changed files with 12 additions and 13 deletions

View File

@@ -691,10 +691,7 @@ export const find_call = (state, index) => {
}
const loc = {index: node.index, module: state.current_module}
const {calltree, call} = state.calltree_actions.find_call(
root_calltree_module(state),
loc
)
const {calltree, call} = state.calltree_actions.find_call(loc)
if(call == null) {
return add_calltree_node_by_loc(
// Remove active_calltree_node