diff --git a/src/window/Edit.js b/src/window/Edit.js index 17b57a6..1c2e63f 100644 --- a/src/window/Edit.js +++ b/src/window/Edit.js @@ -349,10 +349,9 @@ Ext.define('Proxmox.window.Edit', { me.title = Proxmox.Utils.dialog_title(me.subject, me.isCreate, me.isAdd); } - if (me.isCreate || !me.showReset) { - me.buttons = [submitBtn]; - } else { - me.buttons = [submitBtn]; + me.buttons = [submitBtn]; + + if (!me.isCreate && me.showReset)) { me.tools = [resetTool]; }