Commit 285cc418 authored by Erik Verbruggen's avatar Erik Verbruggen
Browse files

Put the re-indenting into the active undo-group.

parent 1af05166
......@@ -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());
......
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