From 966144965a90b06c1e2fe2ab9f90d004cf13cb74 Mon Sep 17 00:00:00 2001 From: Kuersat Akmaz Date: Wed, 15 Jul 2020 16:13:13 +0200 Subject: [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 --- .../src/main/java/org/openslx/dozmod/gui/window/LectureListWindow.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'dozentenmodul/src/main') 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); -- cgit v1.2.3-55-g7522