From: David ‘Bombe’ Roden Date: Thu, 20 Sep 2012 13:19:58 +0000 (+0200) Subject: Find identity for current key pair in the correct list. X-Git-Tag: 0.11^2~10^2~2 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=f3e4debb2dc85ac59ca5690883a27cde83a39400;p=jSite.git Find identity for current key pair in the correct list. --- diff --git a/src/main/java/de/todesbaum/jsite/gui/KeyDialog.java b/src/main/java/de/todesbaum/jsite/gui/KeyDialog.java index 88eb2ca..732bb6e 100644 --- a/src/main/java/de/todesbaum/jsite/gui/KeyDialog.java +++ b/src/main/java/de/todesbaum/jsite/gui/KeyDialog.java @@ -203,7 +203,7 @@ public class KeyDialog extends JDialog { } int selectedIndex = -1; int index = 0; - for (OwnIdentity ownIdentity : ownIdentities) { + for (OwnIdentity ownIdentity : this.ownIdentities) { if (ownIdentity.getInsertUri().equals(privateKey) && ownIdentity.getRequestUri().equals(publicKey)) { selectedIndex = index; }