1.1 --- a/linkablemapobj.cpp Sun Jan 30 12:58:47 2005 +0000
1.2 +++ b/linkablemapobj.cpp Sun Jan 30 23:25:48 2005 +0000
1.3 @@ -157,6 +157,7 @@
1.4
1.5 void LinkableMapObj::setLinkStyle(LinkStyle newstyle)
1.6 {
1.7 + //if (newstyle=style) return;
1.8 delLink();
1.9
1.10 style=newstyle;
1.11 @@ -246,9 +247,10 @@
1.12 default:
1.13 break;
1.14 }
1.15 + updateLink();
1.16 } else
1.17 {
1.18 - cout << "Error: ChildObj or parObj == NULL in LinkableMapObj::setLinkStyle\n";
1.19 + qWarning ("Error: ChildObj or parObj == NULL in LinkableMapObj::setLinkStyle\n");
1.20 }
1.21 }
1.22
1.23 @@ -587,7 +589,6 @@
1.24
1.25 void LinkableMapObj::reposition()
1.26 {
1.27 -cout << "LMO::reposition ???"<<endl;
1.28 if (depth==0)
1.29 {
1.30 // only calculate the sizes once. If the deepest LMO changes its height,
1.31 @@ -633,7 +634,8 @@
1.32 if (parObj)
1.33 parObj->forceReposition();
1.34 else
1.35 - reposition(); }
1.36 + reposition();
1.37 +}
1.38
1.39 bool LinkableMapObj::repositionRequested()
1.40 {