unused media tooltip patch from julien baley (removed redundant .finish())

This commit is contained in:
Damien Elmes 2013-07-24 01:04:37 +09:00
parent 36e877fe12
commit 0254a25c23

View File

@ -894,7 +894,8 @@ will be lost. Continue?"""))
"Used on cards but missing from media folder:")
report += "\n" + "\n".join(nohave)
if not report:
report = _("No unused or missing files found.")
tooltip(_("No unused or missing files found."))
return
# show report and offer to delete
diag = QDialog(self)
diag.setWindowTitle("Anki")