summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main
diff options
context:
space:
mode:
authorJakob Heher <jakob.heher@iaik.tugraz.at>2022-08-03 13:00:41 +0200
committerJakob Heher <jakob.heher@iaik.tugraz.at>2022-08-03 13:00:41 +0200
commitc7a583f3d1165d0ed159670f6bd13a2bc96be3e5 (patch)
treec85bd92035b3610abbca75ed888405a049ca4b1b /pdf-over-gui/src/main
parentf9def921178f2c1995b28900e80e2a338257729b (diff)
downloadpdf-over-c7a583f3d1165d0ed159670f6bd13a2bc96be3e5.tar.gz
pdf-over-c7a583f3d1165d0ed159670f6bd13a2bc96be3e5.tar.bz2
pdf-over-c7a583f3d1165d0ed159670f6bd13a2bc96be3e5.zip
re-enable signature preview in options
Diffstat (limited to 'pdf-over-gui/src/main')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/SimpleConfigurationComposite.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/SimpleConfigurationComposite.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/SimpleConfigurationComposite.java
index cd8544d8..6c5204db 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/SimpleConfigurationComposite.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/SimpleConfigurationComposite.java
@@ -62,6 +62,7 @@ import at.asit.pdfover.gui.controls.ErrorDialog;
import at.asit.pdfover.gui.controls.ErrorMarker;
import at.asit.pdfover.gui.exceptions.InvalidEmblemFile;
import at.asit.pdfover.gui.utils.ImageConverter;
+import at.asit.pdfover.gui.utils.SignaturePlaceholderCache;
import at.asit.pdfover.gui.workflow.config.ConfigurationManager;
import at.asit.pdfover.gui.workflow.config.ConfigurationDataInMemory;
import at.asit.pdfover.gui.workflow.states.State;
@@ -450,9 +451,7 @@ public class SimpleConfigurationComposite extends ConfigurationCompositeBase {
logo = new ImageData(image);
param.emblem = new Emblem(image);
}
- //TODO deactivated the placeholder preview
- //TODO display accurate placeholder preview -> now its only standard placeholder shown
- //img = SignaturePlaceholderCache.getSWTPlaceholder(param);
+ img = SignaturePlaceholderCache.getSWTPlaceholder(param);
} catch (Exception e) {
log.error("Failed to load image for display...", e);
}