diff options
| author | Michael Wilson | 2014-11-20 19:10:10 +0100 |
|---|---|---|
| committer | Michael Wilson | 2014-11-20 19:10:10 +0100 |
| commit | c067221e05dcf17d6b86772b1135640d14cfcd28 (patch) | |
| tree | 42a1dcac2c293fc5a8e2eefb85289ad6ff70a065 /dozentenmodul/src/main/java/gui/lecture/PermissionEditLecture_GUI.java | |
| parent | Lists now have the functionality to show complete lists, when role=="Admin" (diff) | |
| parent | • replaced getText() with getText().trim() (diff) | |
| download | tutor-module-c067221e05dcf17d6b86772b1135640d14cfcd28.tar.gz tutor-module-c067221e05dcf17d6b86772b1135640d14cfcd28.tar.xz tutor-module-c067221e05dcf17d6b86772b1135640d14cfcd28.zip | |
Merge branch 'master' of ssh://git.openslx.org/openslx-ng/tutor-module
Diffstat (limited to 'dozentenmodul/src/main/java/gui/lecture/PermissionEditLecture_GUI.java')
| -rw-r--r-- | dozentenmodul/src/main/java/gui/lecture/PermissionEditLecture_GUI.java | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/dozentenmodul/src/main/java/gui/lecture/PermissionEditLecture_GUI.java b/dozentenmodul/src/main/java/gui/lecture/PermissionEditLecture_GUI.java index c42cb1bc..0278942c 100644 --- a/dozentenmodul/src/main/java/gui/lecture/PermissionEditLecture_GUI.java +++ b/dozentenmodul/src/main/java/gui/lecture/PermissionEditLecture_GUI.java @@ -105,6 +105,14 @@ public class PermissionEditLecture_GUI extends JFrame { }; public PermissionEditLecture_GUI(Component formerGUI) { + + try { + client.setTokenForSession(SessionData.session.getAuthToken()); + } catch (TException e1) { + // TODO Auto-generated catch block + e1.printStackTrace(); + } + addWindowListener(new WindowAdapter() { @Override public void windowClosing(WindowEvent arg0) { @@ -562,12 +570,7 @@ public class PermissionEditLecture_GUI extends JFrame { } }); menuBar.add(mnNewMenu_Info); - try { - client.setTokenForSession(SessionData.session.getAuthToken()); - } catch (TException e1) { - // TODO Auto-generated catch block - e1.printStackTrace(); - } + c = this; }// end constructor |
