vymview.cpp
changeset 729 7ddbe3fa34a1
parent 728 a8a98a94899a
child 731 c8b1a3564c74
     1.1 --- a/vymview.cpp	Tue Nov 04 12:09:10 2008 +0000
     1.2 +++ b/vymview.cpp	Mon Dec 08 16:57:33 2008 +0000
     1.3 @@ -24,12 +24,16 @@
     1.4  	connect (
     1.5  		selModel, SIGNAL (selectionChanged(const QItemSelection &, const QItemSelection &)), 
     1.6  		me,SLOT (updateSelection(const QItemSelection &,const QItemSelection &)));
     1.7 +	connect (
     1.8 +		selModel, SIGNAL (currentChanged(const QModelIndex &, const QModelIndex &)), 
     1.9 +		me,SLOT (updateCurrent(const QModelIndex &,const QModelIndex &)));
    1.10  
    1.11  	// VymModel may want to update selection, e.g. during animation
    1.12 +	/*
    1.13  	connect (
    1.14  		model, SIGNAL (selectionChanged(const QItemSelection &, const QItemSelection &)), 
    1.15  		me,SLOT (updateSelection(const QItemSelection &,const QItemSelection &)));
    1.16 -
    1.17 +	*/
    1.18  
    1.19  	//me->viewport()->setFocus();
    1.20  	//FIXME me->setAntiAlias (actionViewToggleAntiAlias->isOn());