Commit a48d3897 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.propertyEditor: fixes expressions and undo

Setting an expression is now one step in the Undo/Redo history
See Bauhaus-527
parent 2a805a0d
......@@ -419,6 +419,8 @@ void PropertyEditor::changeExpression(const QString &name)
if (m_locked)
RewriterTransaction transaction = beginRewriterTransaction();
QString underscoreName(name);
underscoreName.replace(QLatin1Char('.'), QLatin1Char('_'));
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment