Merge pull request #2789 from SebDieBln/DbManager_FixMoveToSchema

[DbManager] Fix the 'MoveToSchema' functionality (fixes #14219)
This commit is contained in:
Jürgen Fischer 2016-02-14 19:07:21 +01:00
commit 25c289441e

View File

@ -463,7 +463,7 @@ class Database(DbItemObject):
def prepareMenuMoveTableToSchemaActionSlot(self, item, menu, mainWindow):
""" populate menu with schemas """
slot = lambda x: lambda: mainWindow.invokeCallback(self.moveTableToSchemaActionSlot, [x])
slot = lambda x: lambda: mainWindow.invokeCallback(self.moveTableToSchemaActionSlot, x)
menu.clear()
for schema in self.schemas():