vymview.cpp
changeset 775 6e4b586aa88a
parent 772 e3f722759c7e
child 777 8acac4fade1b
     1.1 --- a/vymview.cpp	Tue May 26 11:24:51 2009 +0000
     1.2 +++ b/vymview.cpp	Wed Jun 03 20:37:17 2009 +0000
     1.3 @@ -35,6 +35,10 @@
     1.4  		mapEditor,SLOT (updateSelection(const QItemSelection &,const QItemSelection &)));
     1.5  
     1.6  	connect (
     1.7 +		selModel, SIGNAL (selectionChanged(const QItemSelection &, const QItemSelection &)), 
     1.8 +		model,SLOT (updateSelection(const QItemSelection &,const QItemSelection &)));
     1.9 +
    1.10 +	connect (
    1.11  		model, SIGNAL (dataChanged(const QModelIndex &, const QModelIndex &)), 
    1.12  		mapEditor,SLOT (updateData(const QModelIndex &) ) );
    1.13  
    1.14 @@ -102,7 +106,7 @@
    1.15  {
    1.16  	// Notify mainwindow to update satellites like NoteEditor, if needed (model==currenModel...)
    1.17  	mainWindow->changeSelection (model,newsel,oldsel);	// FIXME-3 maybe connect VymModel <-> MainWindow directly?
    1.18 -	showSelection();
    1.19 +	//showSelection();
    1.20  }
    1.21  
    1.22  void VymView::expandAll()