# HG changeset patch # User Andre Heinecke # Date 1406565779 -7200 # Node ID b108510bac5af2bba8d89ac3ac5249653de99fc7 # Parent 78c8ce22d9f489ccdbdebdc6c329c3a0011f294e (issue71) Fix state toggle information. diff -r 78c8ce22d9f4 -r b108510bac5a ui/certificateitemwidget.cpp --- a/ui/certificateitemwidget.cpp Mon Jul 28 15:01:26 2014 +0200 +++ b/ui/certificateitemwidget.cpp Mon Jul 28 18:42:59 2014 +0200 @@ -135,7 +135,7 @@ void CertificateItemWidget::currentStateChanged(int) { - bool state = mComboBox->currentData().toBool(); + bool state = !mComboBox->currentIndex(); emit stateChanged(state, mCertificate); }