diff -r c2ce9944148c -r 0bba81dde1bc vymview.cpp --- a/vymview.cpp Wed Feb 10 13:48:42 2010 +0000 +++ b/vymview.cpp Fri Feb 19 13:47:03 2010 +0000 @@ -72,7 +72,7 @@ mapEditor,SLOT (updateSelection(const QItemSelection &,const QItemSelection &))); */ - // FIXME-2 testing, if that reenables updating selbox during animation + // Needed to update selbox during animation connect ( model, SIGNAL (selectionChanged(const QItemSelection &, const QItemSelection &)), mapEditor,SLOT (updateSelection(const QItemSelection &,const QItemSelection &))); @@ -184,7 +184,7 @@ //cout << "VV::changeProxySelection newsel.count="<setCurrentIndex ( newsel.indexes().first(), @@ -319,3 +319,12 @@ if (mapEditor) mapEditor->setFocus(); } +void VymView::toggleTreeEditor() +{ + if (treeEditor->isVisible() ) + treeEditor->hide(); + else + treeEditor->show(); +} + +