diff --git a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/VmListModel.java b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/VmListModel.java index a79495e5f16..e2c9043e7fd 100644 --- a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/VmListModel.java +++ b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/VmListModel.java @@ -796,8 +796,8 @@ private void confirmBiosTypeUpdate(){ } else { BiosType newBiosType = model.getBiosType().getSelectedItem(); BiosType oldBiosType = vm.getBiosType(); - if ((oldBiosType.equals(BiosType.Q35_SECURE_BOOT) && !newBiosType.equals(BiosType.Q35_SECURE_BOOT)) || - (oldBiosType.equals(BiosType.Q35_OVMF) && newBiosType.getValue() < BiosType.Q35_OVMF.getValue())){ + if (oldBiosType.equals(BiosType.Q35_SECURE_BOOT) && !newBiosType.equals(BiosType.Q35_SECURE_BOOT)) || + (oldBiosType.equals(BiosType.Q35_OVMF) && newBiosType.getValue() < BiosType.Q35_OVMF.getValue()) { ConfirmationModel confirmModel = new ConfirmationModel(); confirmModel.setTitle(ConstantsManager.getInstance().getConstants().confirmBiosUpdateTitle()); confirmModel.setMessage(ConstantsManager.getInstance().getConstants().confirmBiosUpdateMessage()); @@ -2152,7 +2152,7 @@ public void executeCommand(UICommand command) { cancel(); } else if ("OnSave".equals(command.getName())) { //$NON-NLS-1$ confirmBiosTypeUpdate(); - } else if ("PreSave".equals(command.getName())) { + } else if ("PreSave".equals(command.getName())) { //$NON-NLS-1$ preSave(); } else if ("OnRemove".equals(command.getName())) { //$NON-NLS-1$ onRemove();