changeset 695:0f4c480c41f4

Emit list changed when certificates are added or removed
author Andre Heinecke <andre.heinecke@intevation.de>
date Tue, 01 Jul 2014 17:19:02 +0200
parents 25a73bfec359
children 55f78c4166fb
files ui/certificatelistwidget.cpp
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ui/certificatelistwidget.cpp	Tue Jul 01 16:53:31 2014 +0200
+++ b/ui/certificatelistwidget.cpp	Tue Jul 01 17:19:02 2014 +0200
@@ -85,6 +85,7 @@
         this, SLOT(certStateChanged(bool, const Certificate&)));
     item->setSizeHint(widget->minimumSizeHint());
     mCertificateList->setItemWidget(item, widget);
+    emit certListChanged(-1);
 }
 
 void CertificateListWidget::addCertificates(const QList<Certificate> &list)
@@ -103,6 +104,7 @@
             delete(item);
         }
     }
+    emit certListChanged(-1);
 }
 
 void CertificateListWidget::clear()

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