locate at left position in the relationship of joins, then the table is resize
but the position of joins anchors aren't recalculate, leaving the joins anchors
misplaced (ex: inside the table in the middle ). [Luis Ochoa]
git-svn-id: svn://svn.pgadmin.org/trunk/pgadmin3@7710
a7884b65-44f6-0310-8a51-
81a127f17b15
{\r
t->setAlias(dialog.GetValue());\r
joinsPanel->Refresh();\r
+\r
+ // hack to avoid misplaced joins anchors after insert an alias that trigger a table graph resize (bigger)\r
+ this->Refresh();\r
+ this->Update(); //force refresh\r
+ graphBehavior->UpdatePosObject(t,t->position.x,t->position.y,0);\r
}\r
}\r
else if(anySelected->getType()==GQB_JOIN)\r