X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FChanges.h;fp=src%2FChanges.h;h=87fdb712308e41cb6eb70b00949bac6c77167d17;hb=dfabfe49c6e6b07298a189b5424e41f1731d10b9;hp=2183adf0404a67161f3e26b673c3a861ebb3e7f6;hpb=6d8f1aa244e75f8d75202bfc0da5ed4d743a2a90;p=lyx.git diff --git a/src/Changes.h b/src/Changes.h index 2183adf040..87fdb71230 100644 --- a/src/Changes.h +++ b/src/Changes.h @@ -58,6 +58,8 @@ public: bool deleted() const { return type == DELETED; } /// void setDeleted() { type = DELETED; } + /// Is this change made by the current author ? + bool currentAuthor() const { return author == 0; } Type type;