Skip to content

Commit

Permalink
Allow expanding data source select widget nodes on double click
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Mar 26, 2020
1 parent 44ae5a5 commit a061f4b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/gui/qgsdatasourceselectdialog.cpp
Expand Up @@ -95,8 +95,6 @@ QgsDataSourceSelectWidget::QgsDataSourceSelectWidget(
action->setCheckable( true );
menu->addAction( action );

mBrowserTreeView->setExpandsOnDoubleClick( false );

connect( mActionRefresh, &QAction::triggered, this, [ = ] { refreshModel( QModelIndex() ); } );
connect( mBrowserTreeView, &QgsBrowserTreeView::clicked, this, &QgsDataSourceSelectWidget::onLayerSelected );
connect( mBrowserTreeView, &QgsBrowserTreeView::doubleClicked, this, &QgsDataSourceSelectWidget::itemDoubleClicked );
Expand Down

0 comments on commit a061f4b

Please sign in to comment.