summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src
diff options
context:
space:
mode:
authorJakob Heher <jakob.heher@iaik.tugraz.at>2022-08-12 10:55:59 +0200
committerJakob Heher <jakob.heher@iaik.tugraz.at>2022-08-12 10:55:59 +0200
commitcc90fdae62ed312a0328f12e48a285ca84d46016 (patch)
tree847d546804ff4a897a7078f73fa4f82af89702db /pdf-over-gui/src
parenta2d7c408cd21c74c4f196edc38b0b273950c1eb8 (diff)
downloadpdf-over-cc90fdae62ed312a0328f12e48a285ca84d46016.tar.gz
pdf-over-cc90fdae62ed312a0328f12e48a285ca84d46016.tar.bz2
pdf-over-cc90fdae62ed312a0328f12e48a285ca84d46016.zip
redraw signature preview on LOTS focus loss
Diffstat (limited to 'pdf-over-gui/src')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/SimpleConfigurationComposite.java3
1 files changed, 3 insertions, 0 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 94362b54..237da062 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
@@ -277,6 +277,9 @@ public class SimpleConfigurationComposite extends ConfigurationCompositeBase {
configurationContainer.logoOnlyTargetSize = sclLogoOnlyTargetSize.getSelection();
this.updateLogoOnlyTargetSizeCurrentValueLabel();
});
+ sclLogoOnlyTargetSize.addFocusListener(new FocusAdapter() {
+ public void focusLost(FocusEvent e) { signatureBlockPreviewChanged(); };
+ });
this.lblLogoOnlyTargetSizeCurrentValue = new Label(this.grpLogoOnlyTargetSize, SWT.HORIZONTAL);
SWTUtils.anchor(lblLogoOnlyTargetSizeCurrentValue).top(sclLogoOnlyTargetSize, 5).left(0,5).right(100,-5);