diff --git a/src/gui/itemviews/qitemeditorfactory.cpp b/src/gui/itemviews/qitemeditorfactory.cpp index 0f9ff5c75..a05526092 100644 --- a/src/gui/itemviews/qitemeditorfactory.cpp +++ b/src/gui/itemviews/qitemeditorfactory.cpp @@ -187,7 +187,7 @@ QByteArray QItemEditorFactory::valuePropertyName(QVariant::Type type) const switch (type) { #ifndef QT_NO_COMBOBOX case QVariant::Bool: - return "currentIndex"; + return "value"; #endif #ifndef QT_NO_SPINBOX case QVariant::UInt: