mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
bazaar: ValueAccessorEdit: loop fix
git-svn-id: svn://ultimatepp.org/upp/trunk@3899 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
6e96b9a399
commit
1de1a82e41
1 changed files with 1 additions and 1 deletions
|
|
@ -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(); }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue