diff options
| author | Jonathan Bauer | 2016-01-13 13:49:30 +0100 |
|---|---|---|
| committer | Jonathan Bauer | 2016-01-13 13:49:30 +0100 |
| commit | e4fbcb6e6e2f9cb917fbf8a7ce003bf515ce5446 (patch) | |
| tree | 4486aa17466cd371520034c9032ec5ff1116aba8 | |
| parent | [client] fix LectureWizard not accepting "Done" when no locations are selected (diff) | |
| download | tutor-module-e4fbcb6e6e2f9cb917fbf8a7ce003bf515ce5446.tar.gz tutor-module-e4fbcb6e6e2f9cb917fbf8a7ce003bf515ce5446.tar.xz tutor-module-e4fbcb6e6e2f9cb917fbf8a7ce003bf515ce5446.zip | |
[client] also check if the return list of location is empty
| -rw-r--r-- | dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/LectureWizard.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/LectureWizard.java b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/LectureWizard.java index 7749cfeb..79931bb8 100644 --- a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/LectureWizard.java +++ b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/LectureWizard.java @@ -54,7 +54,7 @@ public class LectureWizard extends Wizard implements UiFeedback { addPage(new LectureImageListPage(this, state)); addPage(new LectureOptionsPage(this, state)); addPage(new LectureCustomPermissionPage(this, state)); - if (MetaDataCache.getLocations() != null) + if (MetaDataCache.getLocations() != null && !MetaDataCache.getLocations().isEmpty()) addPage(new LectureLocationSelectionPage(this, state)); } |
