mirror of
https://github.com/google/blockly.git
synced 2026-01-09 18:10:08 +01:00
Update procedure callers on var rename (PR#2251)
Merge from TangHu2018/develop
This commit is contained in:
@@ -298,6 +298,7 @@ Blockly.Blocks['procedures_defnoreturn'] = {
|
||||
}
|
||||
if (change) {
|
||||
this.displayRenamedVar_(oldName, newVar.name);
|
||||
Blockly.Procedures.mutateCallers(this);
|
||||
}
|
||||
},
|
||||
/**
|
||||
@@ -320,6 +321,7 @@ Blockly.Blocks['procedures_defnoreturn'] = {
|
||||
}
|
||||
if (change) {
|
||||
this.displayRenamedVar_(oldName, newName);
|
||||
Blockly.Procedures.mutateCallers(this);
|
||||
}
|
||||
},
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user