summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKuersat Akmaz2020-07-15 16:13:13 +0200
committerKuersat Akmaz2020-07-15 16:13:13 +0200
commit966144965a90b06c1e2fe2ab9f90d004cf13cb74 (patch)
treecf45f1b18ead37ee2b5d2ebd3f7a0a88eaba0eb4
parent[client] Students are directly forwarded to Lecturelist (diff)
downloadtutor-module-966144965a90b06c1e2fe2ab9f90d004cf13cb74.tar.gz
tutor-module-966144965a90b06c1e2fe2ab9f90d004cf13cb74.tar.xz
tutor-module-966144965a90b06c1e2fe2ab9f90d004cf13cb74.zip
[client] Deactivated Switch view button for Student in Lecturelist
Since Student are not allowed to see the ImageList it makes no sense to give them an uncklickable button at the bottom of the windows. As Discussed in the meeting on 07.07.2020. Issue : #3727
-rw-r--r--dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/LectureListWindow.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/LectureListWindow.java b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/LectureListWindow.java
index d6adfc5e..8dc3e15e 100644
--- a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/LectureListWindow.java
+++ b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/LectureListWindow.java
@@ -488,10 +488,12 @@ public class LectureListWindow extends LectureListWindowLayout {
btnDeleteLecture.setVisible(false);
btnEditLecture.setVisible(false);
btnNewLecture.setVisible(false);
+ btnSwitchView.setVisible(false);
btnDeleteLecture.setEnabled(false);
btnEditLecture.setEnabled(false);
btnNewLecture.setEnabled(false);
+ btnSwitchView.setEnabled(false);
cboFilter.setVisible(false);
cboFilter.setEnabled(false);