Commit a0bb05e9 authored by Victor Yacovlev's avatar Victor Yacovlev

Fixed #kumir2-1907

parent 26600c59
......@@ -134,6 +134,8 @@ TextLine::Margin & TextDocument::marginAt(uint index)
}
else {
static TextLine::Margin dummy;
dummy.text.clear();
dummy.errors.clear();
return dummy;
}
}
......
Markdown is supported
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