diff ui/certificatelistwidget.h @ 720:3d669400104a

(Issue23) Fix certificate selection On show always the first certificate was selected and setSelected also only set the first certificate.
author Andre Heinecke <andre.heinecke@intevation.de>
date Wed, 02 Jul 2014 17:03:44 +0200
parents 973a7ce19658
children a467204a35f5
line wrap: on
line diff
--- a/ui/certificatelistwidget.h	Wed Jul 02 16:35:16 2014 +0200
+++ b/ui/certificatelistwidget.h	Wed Jul 02 17:03:44 2014 +0200
@@ -42,6 +42,7 @@
     int selectedCertCount();
     bool contains(const Certificate &cert);
     void setSelected(int index);
+    int selected() { return mCertificateList->currentRow(); }
 
 private:
     void setupGUI();

http://wald.intevation.org/projects/trustbridge/