Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
325c5d87
Commit
325c5d87
authored
May 16, 2011
by
Thomas Hartmann
Browse files
QmlDesigner.rewriter: fix (optimization)
We only change a value if different.
parent
0aa863e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qmldesigner/designercore/model/texttomodelmerger.cpp
View file @
325c5d87
...
...
@@ -1521,7 +1521,8 @@ void TextToModelMerger::setupCustomParserNode(const ModelNode &node)
if
(
modelText
.
isEmpty
())
return
;
ModelNode
(
node
).
setCustomParserSource
(
modelText
);
if
(
node
.
customParserSource
()
!=
modelText
)
ModelNode
(
node
).
setCustomParserSource
(
modelText
);
}
QString
TextToModelMerger
::
textAt
(
const
Document
::
Ptr
&
doc
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment