Skip to content

Commit

Permalink
Merge pull request #349 from solver-it-sro/fix/deafult-pades
Browse files Browse the repository at this point in the history
fix default pdf signature level
  • Loading branch information
celuchmarek committed Dec 4, 2023
2 parents 2ba127a + 03d759b commit 90111ae
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public static UserSettings load() {
var prefs = Preferences.userNodeForPackage(UserSettings.class);

var settings = new UserSettings();
settings.setSignatureType(prefs.get("SIGNATURE_LEVEL", null));
settings.setSignatureType(prefs.get("SIGNATURE_LEVEL", SignatureLevelStringConverter.PADES));
settings.setDriver(prefs.get("DRIVER", ""));
settings.setSlotIndex(prefs.getInt("SLOT_INDEX", -1));
settings.setEn319132(prefs.getBoolean("EN319132", false));
Expand Down

0 comments on commit 90111ae

Please sign in to comment.