also send isDirty-flag when forwarding model changes, #11339

This commit is contained in:
Johannes Rieken
2016-10-24 13:06:48 +02:00
parent 2ef658a7c8
commit 1cda680453
3 changed files with 4 additions and 3 deletions

View File

@@ -147,7 +147,7 @@ export class MainThreadDocuments extends MainThreadDocumentsShape {
}
}
if (changedEvents.length > 0) {
this._proxy.$acceptModelChanged(modelUrl.toString(), changedEvents);
this._proxy.$acceptModelChanged(modelUrl.toString(), changedEvents, this._textFileService.isDirty(modelUrl));
}
}