From: buliabyak Date: Wed, 5 Sep 2007 16:07:56 +0000 (+0000) Subject: add accessor for the updating state X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=88eb5dc6b7d1f6d57510f7cabc88863860df8694;p=inkscape.git add accessor for the updating state --- diff --git a/src/ui/widget/registered-widget.h b/src/ui/widget/registered-widget.h index 7d71165da..3d4dd851b 100644 --- a/src/ui/widget/registered-widget.h +++ b/src/ui/widget/registered-widget.h @@ -17,6 +17,7 @@ #include #include "xml/node.h" +#include "registry.h" class SPUnit; class SPDocument; @@ -49,6 +50,8 @@ public: write_undo = true; } + bool is_updating() {if (_wr) return _wr->isUpdating(); else return false;} + protected: RegisteredWidget() {