Skip to content
GitLab
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
285cc418
Commit
285cc418
authored
Feb 08, 2010
by
Erik Verbruggen
Browse files
Put the re-indenting into the active undo-group.
parent
1af05166
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qmldesigner/core/model/modeltotextmerger.cpp
View file @
285cc418
...
...
@@ -272,10 +272,10 @@ void ModelToTextMerger::applyChanges()
qDeleteAll
(
m_rewriteActions
);
m_rewriteActions
.
clear
();
textModifier
->
commitGroup
();
reindent
(
positionRecalculator
.
dirtyAreas
());
textModifier
->
commitGroup
();
textModifier
->
reactivateChangeSignals
();
}
catch
(
Exception
&
e
)
{
m_rewriterView
->
enterErrorState
(
e
.
description
());
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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