diff -r d886c77ac0fe -r 7014be3ac7d0 branchobj.cpp --- a/branchobj.cpp Mon Jan 29 12:29:13 2007 +0000 +++ b/branchobj.cpp Mon Feb 12 09:28:46 2007 +0000 @@ -53,16 +53,16 @@ BranchObj::~BranchObj () { -// cout << "Destr BranchObj of "<getLastBranch(); - if (!bo) po->unScroll(); + bo=((BranchObj*)parObj)->getLastBranch(); + if (bo) po->unScroll(); } clear(); } @@ -120,6 +120,8 @@ void BranchObj::clear() { + setVisibility (true); + while (!floatimage.isEmpty()) delete floatimage.takeFirst();