summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Heher <jakob.heher@iaik.tugraz.at>2022-08-08 14:36:05 +0200
committerJakob Heher <jakob.heher@iaik.tugraz.at>2022-08-08 14:36:05 +0200
commit64969c5e4114ef5286e73f97a09b91a300e639bd (patch)
tree4d5286349585ecbad23a9c5d223521fae60f3d16
parent590e924c92bb2b19744a8d574ba1fce055f1e810 (diff)
downloadpdf-over-64969c5e4114ef5286e73f97a09b91a300e639bd.tar.gz
pdf-over-64969c5e4114ef5286e73f97a09b91a300e639bd.tar.bz2
pdf-over-64969c5e4114ef5286e73f97a09b91a300e639bd.zip
properly re-enable "clear emblem" button
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/SimpleConfigurationComposite.java2
1 files changed, 1 insertions, 1 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 e849e6f9..19bbace0 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
@@ -413,7 +413,7 @@ public class SimpleConfigurationComposite extends ConfigurationCompositeBase {
}
this.configurationContainer.setEmblem(filename);
- this.btnClearImage.setVisible(filename != null);
+ this.btnClearImage.setEnabled(filename != null);
this.signatureBlockPreviewChanged();
this.doLayout();
}