summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/gitblit/authority
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2013-05-07 08:08:35 -0400
committerJames Moger <james.moger@gitblit.com>2013-05-07 08:08:35 -0400
commit5c36f8425345b48adc354def8ed1443b4a236a20 (patch)
tree8491af12158e56d8dd8f03ef218bf2cbb080cabf /src/main/java/com/gitblit/authority
parentffbf03175ba1154ba5984d7c473cf1ac4130c043 (diff)
downloadgitblit-5c36f8425345b48adc354def8ed1443b4a236a20.tar.gz
gitblit-5c36f8425345b48adc354def8ed1443b4a236a20.zip
[authority] Fixed out of bounds exception on cert generation for a filtered user
Diffstat (limited to 'src/main/java/com/gitblit/authority')
-rw-r--r--src/main/java/com/gitblit/authority/GitblitAuthority.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/gitblit/authority/GitblitAuthority.java b/src/main/java/com/gitblit/authority/GitblitAuthority.java
index 1a1f96db..1c0c142f 100644
--- a/src/main/java/com/gitblit/authority/GitblitAuthority.java
+++ b/src/main/java/com/gitblit/authority/GitblitAuthority.java
@@ -464,9 +464,9 @@ public class GitblitAuthority extends JFrame implements X509Log {
// refresh user
ucm.certs = null;
- int modelIndex = table.convertRowIndexToModel(table.getSelectedRow());
+ int selectedIndex = table.getSelectedRow();
tableModel.fireTableDataChanged();
- table.getSelectionModel().setSelectionInterval(modelIndex, modelIndex);
+ table.getSelectionModel().setSelectionInterval(selectedIndex, selectedIndex);
if (sendEmail) {
sendEmail(user, metadata, zip);