From d4a4518f6d0c4b9745410810f61288bc327b31c7 Mon Sep 17 00:00:00 2001 From: Jakob Heher Date: Mon, 19 Sep 2022 17:04:36 +0200 Subject: properly account for keystore being disabled at runtime --- .../java/at/asit/pdfover/gui/composites/ConfigurationComposite.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pdf-over-gui') diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/ConfigurationComposite.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/ConfigurationComposite.java index 703a9fad..3baafab1 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/ConfigurationComposite.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/ConfigurationComposite.java @@ -383,7 +383,7 @@ public class ConfigurationComposite extends StateComposite { SWTUtils.setLocalizedText(simpleTabItem, "config.Simple"); SWTUtils.setLocalizedText(advancedTabItem, "config.Advanced"); SWTUtils.setLocalizedText(aboutTabItem, "config.About", Constants.APP_NAME); - if (this.keystoreTabItem != null) + if (this.keystoreConfigComposite != null) SWTUtils.setLocalizedText(keystoreTabItem, "config.Keystore"); SWTUtils.setLocalizedText(btnSpeichern, "common.Save"); -- cgit v1.2.3