Skip to content
Permalink
Browse files
Restore synchronization between connections and data source manager
Partial revert of commit 22bd2a3
  • Loading branch information
elpaso committed Sep 14, 2017
1 parent 591b01e commit 1e85556
Showing 1 changed file with 1 addition and 1 deletion.
@@ -1512,7 +1512,7 @@ void QgisApp::dataSourceManager( const QString &pageName )
if ( ! mDataSourceManagerDialog )
{
mDataSourceManagerDialog = new QgsDataSourceManagerDialog( mBrowserModel, this, mapCanvas() );
// Forward signals to this. No need to connect refresh: the browser model is shared
connect( this, &QgisApp::connectionsChanged, mDataSourceManagerDialog, &QgsDataSourceManagerDialog::refresh );
connect( mDataSourceManagerDialog, &QgsDataSourceManagerDialog::connectionsChanged, this, &QgisApp::connectionsChanged );
connect( mDataSourceManagerDialog, SIGNAL( addRasterLayer( QString const &, QString const &, QString const & ) ),
this, SLOT( addRasterLayer( QString const &, QString const &, QString const & ) ) );

0 comments on commit 1e85556

Please sign in to comment.