From b1085f58d37dbfce213ad00108d8a1ddc5d7a42f Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Thu, 3 Sep 2015 15:44:50 +0200 Subject: [client] removed old success message when creating a new lecture, now always refresh lecture cache and go to the lecture list window --- .../main/java/org/openslx/dozmod/gui/wizard/LectureWizard.java | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'dozentenmodul/src/main/java/org/openslx/dozmod') 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 fe8da98b..cdef98cd 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 @@ -97,12 +97,9 @@ public class LectureWizard extends Wizard implements UiFeedback { if (!ThriftActions.writeLecturePermissions(JOptionPane.getFrameForComponent(this), state.uuid, state.permissionMap)) return false; - // all good, feedback - if (Gui.showMessageBox(this, "Veranstaltung erstellt! Wollen Sie zur Übersicht wechseln?", - MessageType.QUESTION_YESNO, null, null)) { - LectureCache.get(true); - MainWindow.showPage(LectureListWindow.class); - } + // all good, refresh cache and change to LectureList + LectureCache.get(true); + MainWindow.showPage(LectureListWindow.class); return true; } -- cgit v1.2.3-55-g7522