vymview.cpp
changeset 802 f076fdec767d
parent 801 16a8ef1d82b2
child 803 338ebdc9b947
     1.1 --- a/vymview.cpp	Fri Oct 02 09:40:57 2009 +0000
     1.2 +++ b/vymview.cpp	Fri Oct 02 13:24:55 2009 +0000
     1.3 @@ -124,7 +124,9 @@
     1.4  	// original model first
     1.5  
     1.6  	// Re-emit but map selection first
     1.7 -	model->emitSelectionChanged (treeEditor->getProxyModel()->mapSelectionToSource (newsel));
     1.8 +	selModel->select (treeEditor->getProxyModel()->mapSelectionToSource (newsel),
     1.9 +		QItemSelectionModel::ClearAndSelect );
    1.10 +	//showSelection();
    1.11  }
    1.12  
    1.13  void VymView::expandAll()