void StandardPLPanel::handleExpansion( const QModelIndex& index )
{
- assert( treeView );
- treeView->scrollTo( index );
+ currentView->scrollTo( index );
}
/* PopupAdd Menu for the Add Menu */
this, popupSelectColumn( QPoint ) );
CONNECT( treeView, customContextMenuRequested( const QPoint & ),
this, popupPlView( const QPoint & ) );
- CONNECT( model, currentChanged( const QModelIndex& ),
- this, handleExpansion( const QModelIndex& ) );
/* SignalMapper for columns */
selectColumnsSigMapper = new QSignalMapper( this );
treeView->show();
currentView = treeView;
}
+ CONNECT( model, currentChanged( const QModelIndex& ),
+ this, handleExpansion( const QModelIndex& ) );
}
void StandardPLPanel::wheelEvent( QWheelEvent *e )