Changed so that the Merge Citation dialogue box closes on its own when the OkDialog box which reports the number of merges is closed.

svn: r18813
This commit is contained in:
Tim G L Lyons 2012-02-02 13:01:38 +00:00
parent 5daa484bce
commit fc78bb6052

View File

@ -222,8 +222,8 @@ class MergeCitations(tool.BatchTool,ManagedWindow.ManagedWindow):
self.progress.close() self.progress.close()
OkDialog( OkDialog(
_("Number of merges done"), _("Number of merges done"),
_("%d citations merges" % num_merges), _("%d citations merges" % num_merges))
parent=self.window) self.close(obj)
def Merge (self, db, citation1, citation2, trans): def Merge (self, db, citation1, citation2, trans):
""" """