@@ -276,7 +276,7 @@ Buffer::MarkDirty()
bool
Buffer::IsDirty()
{
return this->dirty;
return this->status == FileStatus::FileStatusOK && this->dirty;
}
@@ -360,4 +360,3 @@ Buffer::clearContents()
this->contents.clear();
The note is not visible to the blocked user.