diff options
| author | Jonathan Bauer | 2018-04-23 13:58:45 +0200 |
|---|---|---|
| committer | Jonathan Bauer | 2018-04-23 13:58:45 +0200 |
| commit | 2e351351b569a57847e2fd5491ff5950c614d515 (patch) | |
| tree | db1609d24f4192a90114798a8ba10caccee7341c /dozentenmodul/src/main/java | |
| parent | [client] remove test code -.- (diff) | |
| download | tutor-module-2e351351b569a57847e2fd5491ff5950c614d515.tar.gz tutor-module-2e351351b569a57847e2fd5491ff5950c614d515.tar.xz tutor-module-2e351351b569a57847e2fd5491ff5950c614d515.zip | |
[client] too much bash :)
Diffstat (limited to 'dozentenmodul/src/main/java')
| -rw-r--r-- | dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/page/ImageUploadPage.java | 2 |
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) |
