summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Bauer2018-04-23 13:58:45 +0200
committerJonathan Bauer2018-04-23 13:58:45 +0200
commit2e351351b569a57847e2fd5491ff5950c614d515 (patch)
treedb1609d24f4192a90114798a8ba10caccee7341c
parent[client] remove test code -.- (diff)
downloadtutor-module-2e351351b569a57847e2fd5491ff5950c614d515.tar.gz
tutor-module-2e351351b569a57847e2fd5491ff5950c614d515.tar.xz
tutor-module-2e351351b569a57847e2fd5491ff5950c614d515.zip
[client] too much bash :)
-rw-r--r--dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/page/ImageUploadPage.java2
1 files changed, 1 insertions, 1 deletions
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 = "<error>";
if (existingImageVirtualizer != null)