diff --git a/python/plugins/db_manager/db_plugins/oracle/plugin.py b/python/plugins/db_manager/db_plugins/oracle/plugin.py index a44dc361c6a..b2da5f45c4c 100644 --- a/python/plugins/db_manager/db_plugins/oracle/plugin.py +++ b/python/plugins/db_manager/db_plugins/oracle/plugin.py @@ -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: diff --git a/python/plugins/db_manager/db_plugins/postgis/plugin.py b/python/plugins/db_manager/db_plugins/postgis/plugin.py index d12160618df..bc3f248d6fe 100644 --- a/python/plugins/db_manager/db_plugins/postgis/plugin.py +++ b/python/plugins/db_manager/db_plugins/postgis/plugin.py @@ -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()