Skip to content
Snippets Groups Projects
Commit 702030f9 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

Model.Rewriter: crash fix


No TextModifer might be attached.

Change-Id: Ia06a1844ebf10392de1edb8cdb25d70bfa31e14d
Reviewed-by: default avatarMarco Bubke <marco.bubke@digia.com>
parent 613529b3
No related branches found
No related tags found
No related merge requests found
......@@ -486,12 +486,14 @@ QString RewriterView::textModifierContent() const
void RewriterView::reactivateTextMofifierChangeSignals()
{
textModifier()->reactivateChangeSignals();
if (textModifier())
textModifier()->reactivateChangeSignals();
}
void RewriterView::deactivateTextMofifierChangeSignals()
{
textModifier()->deactivateChangeSignals();
if (textModifier())
textModifier()->deactivateChangeSignals();
}
void RewriterView::applyModificationGroupChanges()
......
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