summaryrefslogtreecommitdiffstats
path: root/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/ImageListWindow.java
diff options
context:
space:
mode:
authorStephan Schwaer2015-10-29 12:49:27 +0100
committerStephan Schwaer2015-10-29 12:49:27 +0100
commit3a1a2638891ada3d239e07e65e27fcb62933a347 (patch)
tree40e2379fd9fb151bad57d4f05a15112710ee57c6 /dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/ImageListWindow.java
parent[client] Make caption of permission checks match col names in permission tables. (diff)
downloadtutor-module-3a1a2638891ada3d239e07e65e27fcb62933a347.tar.gz
tutor-module-3a1a2638891ada3d239e07e65e27fcb62933a347.tar.xz
tutor-module-3a1a2638891ada3d239e07e65e27fcb62933a347.zip
[client] Fix appearance of lecture and resulting NPE after deleting image the lecture linked to. Also make user feedback of deleting images more clear.
Diffstat (limited to 'dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/ImageListWindow.java')
-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 9fd25b5c..eb63b1b7 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
@@ -34,6 +34,7 @@ import org.openslx.dozmod.permissions.ImagePerms;
import org.openslx.dozmod.thrift.ThriftActions;
import org.openslx.dozmod.thrift.ThriftActions.DeleteCallback;
import org.openslx.dozmod.thrift.ThriftActions.DownloadCallback;
+import org.openslx.dozmod.thrift.cache.LectureCache;
/**
* Window with the list of available images.
@@ -368,6 +369,7 @@ public class ImageListWindow extends ImageListWindowLayout implements DownloadCa
MessageType.INFO, LOGGER, null);
}
imageListViewer.refreshList(deletedAtLeastOne, 1000);
+ LectureCache.get(true);
}
/**