Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ interface INativeEditorStorageState {
@injectable()
export class NativeEditorStorage implements INotebookModel, INotebookStorage {
public get isDirty(): boolean {
return this._state.changeCount !== this._state.saveChangeCount && this._state.changeCount !== 0;
return this._state.changeCount !== this._state.saveChangeCount;
}
public get changed(): Event<NotebookModelChange> {
return this._changedEmitter.event;
Expand Down