diff options
| author | Jonathan Bauer | 2015-08-10 15:27:14 +0200 |
|---|---|---|
| committer | Jonathan Bauer | 2015-08-10 15:27:14 +0200 |
| commit | 12f8200f6290af870b776aa1dfb6bb6875836c6a (patch) | |
| tree | 7ead7e87ace98dece88f498b467a26cbd42e2f4b | |
| parent | [client] login on <ENTER> when in saveUsername Checkbox (diff) | |
| download | tutor-module-12f8200f6290af870b776aa1dfb6bb6875836c6a.tar.gz tutor-module-12f8200f6290af870b776aa1dfb6bb6875836c6a.tar.xz tutor-module-12f8200f6290af870b776aa1dfb6bb6875836c6a.zip | |
[client] remove "New" button from image list context menu as it doesn't make sense :)
| -rw-r--r-- | dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/ImageListWindow.java | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/ImageListWindow.java b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/ImageListWindow.java index dfe72ab7..0914bac7 100644 --- a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/ImageListWindow.java +++ b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/ImageListWindow.java @@ -39,7 +39,6 @@ public class ImageListWindow extends ImageListWindowLayout { public final ImageListWindow me = this; - private JMenuItem popupItemNew = new JMenuItem("Neu"); private JMenuItem popupItemNewLecture = new JMenuItem("Neue Veranstaltung"); private JMenuItem popupItemDelete = new JMenuItem("Löschen"); private JMenuItem popupItemDownload = new JMenuItem("Download"); @@ -76,10 +75,6 @@ public class ImageListWindow extends ImageListWindowLayout { // Setup popup menu for the right panel final PopupMenu pop = new PopupMenu(new ActionListener() { public void actionPerformed(ActionEvent e) { - if (e.getSource().equals(popupItemNew)) { - // TODO new lecture wizard with this image preset - LOGGER.debug("New image clicked"); - } if (e.getSource().equals(popupItemNewLecture)) { // TODO new lecture LOGGER.debug("New lecture clicked"); @@ -96,7 +91,6 @@ public class ImageListWindow extends ImageListWindowLayout { }); // add them to the popup menu - pop.addMenuItem(popupItemNew); pop.addMenuItem(popupItemNewLecture); pop.addMenuItem(popupItemDownload); pop.addSeparator(); |
