summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Bauer2015-07-22 17:55:17 +0200
committerJonathan Bauer2015-07-22 17:55:17 +0200
commit141d582276ffbc0c477cc876172d98e0c02f74e7 (patch)
tree7b20aa3f003c7c3c010dff1dd8e32758d754c9ed
parent[client] change getClientArea() to getBounds() (diff)
downloadtutor-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.java2
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();
}
});
}