bazaar: ValueAccessorEdit: loop fix

git-svn-id: svn://ultimatepp.org/upp/trunk@3899 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
kohait 2011-09-21 16:15:42 +00:00
parent 6e96b9a399
commit 1de1a82e41

View file

@ -16,7 +16,7 @@ public:
typedef ValueAccessor VA;
//need get set data because of serialize
virtual void SetData(const Value& v) { if(!tg) return; tg->set(v); Update(); }
virtual void SetData(const Value& v) { if(!tg) return; tg->set(v); }
virtual Value GetData() const { if(!tg) return Null; Value v; tg->get(v); return v; }
virtual void SetTarget(ValueAccessor* va) { if(tg != va) { tg = va; UpdateTarget(); } Update(); }