diff options
author | Jakob Heher <jakob.heher@iaik.tugraz.at> | 2022-10-24 10:46:09 +0200 |
---|---|---|
committer | Jakob Heher <jakob.heher@iaik.tugraz.at> | 2022-10-24 10:46:09 +0200 |
commit | 4d2ef6427f99a713df21e0d475ed88656425a533 (patch) | |
tree | f380b5fa6cc42b28aa0e97a075af65d5c9081bf8 /pdf-over-gui | |
parent | f18b651e0d22350df45d7ac71bdadf519cc562d6 (diff) | |
download | pdf-over-4d2ef6427f99a713df21e0d475ed88656425a533.tar.gz pdf-over-4d2ef6427f99a713df21e0d475ed88656425a533.tar.bz2 pdf-over-4d2ef6427f99a713df21e0d475ed88656425a533.zip |
hide signature data link if unavailable
Diffstat (limited to 'pdf-over-gui')
2 files changed, 2 insertions, 2 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/mobilebku/MobileBKUEnterTANComposite.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/mobilebku/MobileBKUEnterTANComposite.java index 5598f2d3..3f69965b 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/mobilebku/MobileBKUEnterTANComposite.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/mobilebku/MobileBKUEnterTANComposite.java @@ -96,7 +96,7 @@ public class MobileBKUEnterTANComposite extends StateComposite { */ public void setSignatureDataURI(@Nullable URI uri) { this.signatureDataURI = uri; - this.lnk_sig_data.setEnabled(uri != null); + this.lnk_sig_data.setVisible(uri != null); } private String tan; diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/mobilebku/MobileBKUQRComposite.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/mobilebku/MobileBKUQRComposite.java index e7603dbd..f17d0057 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/mobilebku/MobileBKUQRComposite.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/mobilebku/MobileBKUQRComposite.java @@ -146,7 +146,7 @@ public class MobileBKUQRComposite extends StateComposite { public void setSignatureDataURI(@Nullable URI uri) { this.signatureDataURI = uri; - this.lnk_sig_data.setEnabled(uri != null); + this.lnk_sig_data.setVisible(uri != null); } /** |