From 2e351351b569a57847e2fd5491ff5950c614d515 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Mon, 23 Apr 2018 13:58:45 +0200 Subject: [client] too much bash :) --- .../main/java/org/openslx/dozmod/gui/wizard/page/ImageUploadPage.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dozentenmodul/src/main/java') diff --git a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/page/ImageUploadPage.java b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/page/ImageUploadPage.java index 320498d0..192ab82e 100644 --- a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/page/ImageUploadPage.java +++ b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/page/ImageUploadPage.java @@ -151,7 +151,7 @@ public class ImageUploadPage extends ImageUploadPageLayout { } } // check if the user somehow changed the type of the VM - if (existingImage != null && existingImage.virtId != state.meta.getVirtualizer().virtId) { + if (existingImage != null && !existingImage.virtId.equals(state.meta.getVirtualizer().virtId)) { Virtualizer existingImageVirtualizer = MetaDataCache.getVirtualizerById(existingImage.virtId); String existingImageVirtualizerName = ""; if (existingImageVirtualizer != null) -- cgit v1.2.3-55-g7522