Skip to content

Commit

Permalink
[dbmanager] followup 8727799: again some emit signal fix
Browse files Browse the repository at this point in the history
  • Loading branch information
slarosa committed Jun 11, 2016
1 parent 61eea86 commit f1ec121
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/plugins/db_manager/db_plugins/oracle/plugin.py
Expand Up @@ -527,7 +527,7 @@ def type2String(self):

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:
Expand Down
2 changes: 1 addition & 1 deletion python/plugins/db_manager/db_plugins/postgis/plugin.py
Expand Up @@ -184,7 +184,7 @@ def runVacuumAnalyze(self):
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()
Expand Down

0 comments on commit f1ec121

Please sign in to comment.