Skip to content

Commit 0b263f9

Browse files
authoredJul 18, 2017
Merge pull request #4737 from boundlessgeo/browser-sync
[bugfix] Sync the browser connections when changed from the select dialogs
2 parents 6acd326 + 8544309 commit 0b263f9

File tree

60 files changed

+662
-304
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+662
-304
lines changed
 

‎python/core/qgsbrowsermodel.sip

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,10 @@ Refresh item children
138138
void stateChanged( const QModelIndex &index, QgsDataItem::State oldState );
139139
%Docstring
140140
Emitted when item children fetch was finished
141+
%End
142+
void connectionsChanged( );
143+
%Docstring
144+
notify the provider dialogs of a changed connection
141145
%End
142146

143147
public slots:

‎python/core/qgsdataitem.sip

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,11 @@ Remove children recursively and set as not populated. This is used when refreshi
304304

305305
virtual void refresh();
306306

307+
virtual void refreshConnections();
308+
%Docstring
309+
Refresh connections: update GUI and emit signal
310+
%End
311+
307312
virtual void childrenCreated();
308313

309314
signals:
@@ -313,6 +318,10 @@ Remove children recursively and set as not populated. This is used when refreshi
313318
void endRemoveItems();
314319
void dataChanged( QgsDataItem *item );
315320
void stateChanged( QgsDataItem *item, QgsDataItem::State oldState );
321+
void connectionsChanged( );
322+
%Docstring
323+
open browsers
324+
%End
316325

317326
protected slots:
318327

0 commit comments

Comments
 (0)
Please sign in to comment.