---
 ui/content/enigmailSetupWizard.js | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/ui/content/enigmailSetupWizard.js 
b/ui/content/enigmailSetupWizard.js
index dc0194c..33ba42b 100644
--- a/ui/content/enigmailSetupWizard.js
+++ b/ui/content/enigmailSetupWizard.js
@@ -707,6 +707,13 @@ function loadKeys() {
     cell.setAttribute('label', keyList[i].created);
     cell.setAttribute('observes', "bcKeyEnabled");
   }
+
+  // if there is only one key available, select it.
+  if (keyList.length == 1) {
+    var uidSel = document.getElementById("uidSelection");
+    uidSel.view.selection.select(0);
+  }
+
   onKeySelected();
   return true;
 }
-- 
2.3.6

_______________________________________________
enigmail-users mailing list
[email protected]
To unsubscribe or make changes to your subscription click here:
https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net

Reply via email to