mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
[dbmanager] followup 8727799: again some emit signal fix
This commit is contained in:
parent
61eea8674a
commit
f1ec12133e
@ -527,7 +527,7 @@ class ORTableField(TableField):
|
||||
|
||||
def update(self, new_name, new_type_str=None, new_not_null=None,
|
||||
new_default_str=None):
|
||||
self.table().aboutToChange()
|
||||
self.table().aboutToChange.emit()
|
||||
if self.name == new_name:
|
||||
new_name = None
|
||||
if self.type2String() == new_type_str:
|
||||
|
@ -184,7 +184,7 @@ class PGTable(Table):
|
||||
self.schema().refresh() if self.schema() else self.database().refresh()
|
||||
|
||||
def runRefreshMaterializedView(self):
|
||||
self.aboutToChange()
|
||||
self.aboutToChange.emit()
|
||||
self.database().connector.runRefreshMaterializedView((self.schemaName(), self.name))
|
||||
# TODO: change only this item, not re-create all the tables in the schema/database
|
||||
self.schema().refresh() if self.schema() else self.database().refresh()
|
||||
|
Loading…
x
Reference in New Issue
Block a user