[PATCH 1 of 2] (Issue 29) Uneditable items are always selected
Wald Commits
scm-commit at wald.intevation.org
Tue Jul 1 12:14:15 CEST 2014
# HG changeset patch
# User Andre Heinecke <andre.heinecke at intevation.de>
# Date 1404209198 -7200
# Node ID 248d4f24e618f4cec426aa3c91defc2ce35b4b7b
# Parent 69def231f5acfc2bbfe8c874b7edf208bbd10e15
(Issue 29) Uneditable items are always selected
diff -r 69def231f5ac -r 248d4f24e618 ui/certificateitemwidget.cpp
--- a/ui/certificateitemwidget.cpp Tue Jul 01 11:36:44 2014 +0200
+++ b/ui/certificateitemwidget.cpp Tue Jul 01 12:06:38 2014 +0200
@@ -65,6 +65,9 @@
bool CertificateItemWidget::state()
{
+ if (!mEditable) {
+ return true;
+ }
return mComboBox->currentData().toBool();
}
More information about the Trustbridge-commits
mailing list