diff --git a/js/ui/tool/stamp.js b/js/ui/tool/stamp.js index e5187e0..344fa5a 100644 --- a/js/ui/tool/stamp.js +++ b/js/ui/tool/stamp.js @@ -18,9 +18,9 @@ const stampTool = () => opt.image, opt.temporary === undefined ? true : opt.temporary ); - console.debug(state.selected); state.ctxmenu.uploadButton.disabled = true; state.back = opt.back || null; + toolbar.lock(); } else if (opt) { throw Error( "Pasting from other tools must be in format {image, name?, temporary?, back?}"