From f3e4debb2dc85ac59ca5690883a27cde83a39400 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Thu, 20 Sep 2012 15:19:58 +0200 Subject: [PATCH] Find identity for current key pair in the correct list. --- src/main/java/de/todesbaum/jsite/gui/KeyDialog.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.7.4