Skip to content
Permalink
Browse files

Allow expanding data source select widget nodes on double click

  • Loading branch information
nyalldawson committed Mar 25, 2020
1 parent 44ae5a5 commit a061f4be2c2950a767da304faea242d6f82965ec
Showing with 0 additions and 2 deletions.
  1. +0 −2 src/gui/qgsdatasourceselectdialog.cpp
@@ -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 );

0 comments on commit a061f4b

Please sign in to comment.
You can’t perform that action at this time.