Mercurial > trustbridge
diff ui/certificateitemwidget.cpp @ 839:b108510bac5a
(issue71) Fix state toggle information.
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Mon, 28 Jul 2014 18:42:59 +0200 |
parents | 4eff77851e76 |
children | bd33c6585cd0 |
line wrap: on
line diff
--- 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); }