files - respect editor.isReadonly() better

This commit is contained in:
Benjamin Pasero
2019-11-18 12:41:34 +01:00
parent ca0adcee8b
commit 7c526f2b80
3 changed files with 12 additions and 13 deletions

View File

@@ -484,7 +484,7 @@ export abstract class EditorInput extends Disposable implements IEditorInput {
abstract resolve(): Promise<IEditorModel | null>;
isReadonly(): boolean {
return false;
return true;
}
isUntitled(): boolean {