diff options
| author | Jonathan Bauer | 2015-07-22 17:55:17 +0200 |
|---|---|---|
| committer | Jonathan Bauer | 2015-07-22 17:55:17 +0200 |
| commit | 141d582276ffbc0c477cc876172d98e0c02f74e7 (patch) | |
| tree | 7b20aa3f003c7c3c010dff1dd8e32758d754c9ed | |
| parent | [client] change getClientArea() to getBounds() (diff) | |
| download | tutor-module-141d582276ffbc0c477cc876172d98e0c02f74e7.tar.gz tutor-module-141d582276ffbc0c477cc876172d98e0c02f74e7.tar.xz tutor-module-141d582276ffbc0c477cc876172d98e0c02f74e7.zip | |
[client] focus the "neu" button after each image list refresh
| -rw-r--r-- | dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/ImageListWindow.java | 2 |
1 files changed, 2 insertions, 0 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 49cd89ac..2392409e 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 @@ -151,6 +151,7 @@ public class ImageListWindow extends ImageListWindowLayout { MainWindow.showMessageBox("IMAGE ONULL!", MessageType.ERROR, LOGGER, null); return; } + LOGGER.debug("Trying to delete: " + image); QuickTimer.scheduleOnce(new Task() { @Override @@ -199,6 +200,7 @@ public class ImageListWindow extends ImageListWindowLayout { tableViewer.setInput(imageList); tableViewer.refresh(); tableViewer.getTable().setEnabled(true); + newButton.setFocus(); } }); } |
