Mercurial > trustbridge
diff ui/certificatelistwidget.cpp @ 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 | 973a7ce19658 |
children | 3d669400104a |
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()