mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-09-02 16:22:40 -06:00
*CtrlLib: TreeCtrl::Insert fix (thanks mrjt)
git-svn-id: svn://ultimatepp.org/upp/trunk@2878 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
197765d1a4
commit
ae8e3a6c2f
1 changed files with 1 additions and 0 deletions
|
|
@ -166,6 +166,7 @@ int TreeCtrl::Insert(int parentid, int i, const TreeCtrl::Node& n)
|
|||
}
|
||||
Item& m = item[id];
|
||||
m.free = false;
|
||||
m.isopen = false;
|
||||
m.parent = parentid;
|
||||
(TreeCtrl::Node&)m = n;
|
||||
if(parentid >= 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue