hide group box after importing

This commit is contained in:
Damien Elmes 2009-04-23 02:01:58 +09:00
parent 16d0323965
commit b3ed9613ac

View file

@ -134,6 +134,7 @@ class ImportDialog(QDialog):
txt = (
_("Importing complete. %(num)d facts imported from %(file)s.\n") %
{"num": self.importer.total, "file": os.path.basename(self.file)})
self.dialog.groupBox.setShown(False)
if self.importer.log:
txt += _("Log of import:\n") + "\n".join(self.importer.log)
self.dialog.status.setText(txt)