diff -r 5522d1da7e37 -r fb74fa7bfb4c branchobj.cpp --- a/branchobj.cpp Tue Jan 23 11:50:53 2007 +0000 +++ b/branchobj.cpp Mon Feb 12 09:28:47 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();