diff --git a/favoritespanewidget.cc b/favoritespanewidget.cc index 5facb8e3..4b8d1c41 100644 --- a/favoritespanewidget.cc +++ b/favoritespanewidget.cc @@ -208,12 +208,12 @@ void FavoritesPaneWidget::onSelectionChanged( QItemSelection const & selection ) return; itemSelectionChanged = true; -// emitFavoritesItemRequested( selection.indexes().front() ); + emitFavoritesItemRequested( selection.indexes().front() ); } void FavoritesPaneWidget::onItemClicked( QModelIndex const & idx ) { -// if ( !itemSelectionChanged && m_favoritesTree->selectionModel()->selectedIndexes().size() == 1 ) + if ( !itemSelectionChanged && m_favoritesTree->selectionModel()->selectedIndexes().size() == 1 ) { emitFavoritesItemRequested( idx ); } diff --git a/historypanewidget.cc b/historypanewidget.cc index 2a47fdd9..81216b94 100644 --- a/historypanewidget.cc +++ b/historypanewidget.cc @@ -202,14 +202,14 @@ void HistoryPaneWidget::onSelectionChanged( QItemSelection const & selection ) return; itemSelectionChanged = true; -// emitHistoryItemRequested( selection.front().topLeft() ); + emitHistoryItemRequested( selection.front().topLeft() ); } void HistoryPaneWidget::onItemClicked( QModelIndex const & idx ) { // qDebug() << "clicked"; -// if ( !itemSelectionChanged ) + if ( !itemSelectionChanged ) { emitHistoryItemRequested( idx ); }