diff --git a/src/controls/Private/qquickstyleitem.cpp b/src/controls/Private/qquickstyleitem.cpp index e1c9ee184f3b95175061f575e8c9fd51aae4ec73..02b7a5e365ef4a273b2eb63ae44de887b74a5078 100644 --- a/src/controls/Private/qquickstyleitem.cpp +++ b/src/controls/Private/qquickstyleitem.cpp @@ -486,7 +486,7 @@ void QQuickStyleItem::initStyleOption() if (font) opt->fontMetrics = QFontMetrics(*font); opt->currentText = text(); - opt->editable = false; + opt->editable = m_properties["editable"].toBool(); #ifdef Q_OS_OSX if (m_properties["popup"].canConvert<QObject *>() && style() == "mac") { QObject *popup = m_properties["popup"].value<QObject *>();