Skip to content

Commit

Permalink
Update data_category.js
Browse files Browse the repository at this point in the history
  • Loading branch information
RedMan13 authored Nov 25, 2023
1 parent db16e5a commit c64c0c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/data_category.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,11 @@ Blockly.VariableCategory.ListCategory = function(workspace) {

Blockly.VariableCategory.addLabel(xmlList, "Public Lists")
for (var i = 0; i < globalVars.length; i++) {
Blockly.VariableCategory.addDataVariable(xmlList, globalVars[i]);
Blockly.VariableCategory.addDataList(xmlList, globalVars[i]);
}
Blockly.VariableCategory.addLabel(xmlList, "Private Lists")
for (var i = 0; i < localVars.length; i++) {
Blockly.VariableCategory.addDataVariable(xmlList, localVars[i]);
Blockly.VariableCategory.addDataList(xmlList, localVars[i]);
}

if (variableModelList.length > 0) {
Expand Down

0 comments on commit c64c0c9

Please sign in to comment.