diff --git a/pd/nw/dialog_canvas.html b/pd/nw/dialog_canvas.html index b90502fa171aaf3db66547a52eb505b9ca8cf8d9..4135354512fc90ddcabc9920f83e15071b47df1e 100644 --- a/pd/nw/dialog_canvas.html +++ b/pd/nw/dialog_canvas.html @@ -535,6 +535,11 @@ opt.textContent = 'Array #' + (i+1); arrays_select.appendChild(opt); } + // Hide checkbutton for existing graph if this isn't a new array dialog + if (!new_array_dialog) { + document.getElementsByClassName('array_in_existing_graph')[0] + .classList.add('hidden'); + } array_choose(0); }