Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -419,6 +419,8 @@ void PropertyEditor::changeExpression(const QString &name)
if (m_locked)
return;
RewriterTransaction transaction = beginRewriterTransaction();
QString underscoreName(name);
underscoreName.replace(QLatin1Char('.'), QLatin1Char('_'));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment