Skip to content

Commit b9d1544

Browse files
committedJun 10, 2016
[dbmanager] Fixes #14740 - Previews do not work and python error for PG layers
1 parent 02d8042 commit b9d1544

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎python/plugins/db_manager/db_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ def _refreshIndex(self, index, force=False):
487487
if prevPopulated or force:
488488
if item.populate():
489489
for child in item.childItems:
490-
child.itemChanged.connect(partial(self.refreshItem, item))
490+
child.itemChanged.connect(partial(self.refreshItem, child))
491491
self._onDataChanged(index)
492492
else:
493493
self.notPopulated.emit(index)

0 commit comments

Comments
 (0)