diff --git a/pd/nw/dialog_gatom.html b/pd/nw/dialog_gatom.html index ccadc8b2b4dc3e3af2cbfab06af912cf80c88ecd..cfd178d9795a0832756b269877cd8357d095a1ab 100644 --- a/pd/nw/dialog_gatom.html +++ b/pd/nw/dialog_gatom.html @@ -234,6 +234,8 @@ function ok() { // Steal focus from any active input to make sure it triggers an // onchange event document.querySelector("button").focus(); + // send the old attrs first so we can set an undo point on them + send_params(old_attrs, false); send_params(new_attrs, true); cancel(false); }