diff -r 84ae10f6e3a3 -r 21f115d48daf vymmodel.cpp --- a/vymmodel.cpp Tue Jan 20 15:23:16 2009 +0000 +++ b/vymmodel.cpp Thu Jan 22 11:39:53 2009 +0000 @@ -1499,12 +1499,13 @@ QString("Set heading of %1 to \"%2\"").arg(getObjectName(sel)).arg(s) ); sel->setHeading(s ); /* FIXME testing only - TreeItem *ti=getSelectedBranchItem(); + */ + TreeItem *ti=getSelectedTreeItem(); if (ti) { ti->setHeading (s); //FIXME VM ix is wrong ModelIndex below, ix2 is (hopefully) correct: - QModelIndex ix=index( ti->row(), ti->column(), index (0,0,QModelIndex()) ); + //QModelIndex ix=index( ti->row(), ti->column(), index (0,0,QModelIndex()) ); //FIXME VM testing only cout <<"VM::setHeading s="<row()<<","<column()<<")"<getNum()); else - { - cout << "VM::getSelectString lmo="<getNum()); - } } else { // MapCenter