diff options
author | Simon Rettberg | 2019-10-14 16:41:19 +0200 |
---|---|---|
committer | Simon Rettberg | 2019-10-14 16:41:19 +0200 |
commit | a60af3dae47dee3239ec74eaa5aeee1d9a91c91c (patch) | |
tree | a743aa168b8fb530f068279bdf15ef805bb274c8 /dozentenmodul/src | |
parent | [client] Log error message if upload gets rejected (diff) | |
download | tutor-module-a60af3dae47dee3239ec74eaa5aeee1d9a91c91c.tar.gz tutor-module-a60af3dae47dee3239ec74eaa5aeee1d9a91c91c.tar.xz tutor-module-a60af3dae47dee3239ec74eaa5aeee1d9a91c91c.zip |
[client] Fix NPE on wizard close if starting upload failed
Diffstat (limited to 'dozentenmodul/src')
-rw-r--r-- | dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/page/ImageUploadSummaryPage.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/page/ImageUploadSummaryPage.java b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/page/ImageUploadSummaryPage.java index 38aa9aeb..1a0132fb 100644 --- a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/page/ImageUploadSummaryPage.java +++ b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/page/ImageUploadSummaryPage.java @@ -142,7 +142,7 @@ public class ImageUploadSummaryPage extends ImageUploadSummaryPageLayout { @Override protected void onPageLeave() { - if (!pageIsVisible) + if (!pageIsVisible || state == null) return; pageIsVisible = false; |