diff options
Diffstat (limited to 'src/Editor.cxx')
| -rw-r--r-- | src/Editor.cxx | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/src/Editor.cxx b/src/Editor.cxx index e8086770e..461460f69 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -3685,6 +3685,7 @@ void Editor::SetDocPointer(Document *document) {  	// Reset the contraction state to fully shown.  	cs.Clear();  	cs.InsertLines(0, pdoc->LinesTotal() - 1); +	NeedWrapping();  	pdoc->AddWatcher(this, 0);  	Redraw(); | 
