mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
[dbmanager] Fixes #14740 - Previews do not work and python error for PG layers
This commit is contained in:
parent
02d80425ac
commit
b9d1544c64
@ -487,7 +487,7 @@ class DBModel(QAbstractItemModel):
|
||||
if prevPopulated or force:
|
||||
if item.populate():
|
||||
for child in item.childItems:
|
||||
child.itemChanged.connect(partial(self.refreshItem, item))
|
||||
child.itemChanged.connect(partial(self.refreshItem, child))
|
||||
self._onDataChanged(index)
|
||||
else:
|
||||
self.notPopulated.emit(index)
|
||||
|
Loading…
x
Reference in New Issue
Block a user