mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
unused media tooltip patch from julien baley (removed redundant .finish())
This commit is contained in:
parent
36e877fe12
commit
0254a25c23
1 changed files with 2 additions and 1 deletions
|
@ -894,7 +894,8 @@ will be lost. Continue?"""))
|
||||||
"Used on cards but missing from media folder:")
|
"Used on cards but missing from media folder:")
|
||||||
report += "\n" + "\n".join(nohave)
|
report += "\n" + "\n".join(nohave)
|
||||||
if not report:
|
if not report:
|
||||||
report = _("No unused or missing files found.")
|
tooltip(_("No unused or missing files found."))
|
||||||
|
return
|
||||||
# show report and offer to delete
|
# show report and offer to delete
|
||||||
diag = QDialog(self)
|
diag = QDialog(self)
|
||||||
diag.setWindowTitle("Anki")
|
diag.setWindowTitle("Anki")
|
||||||
|
|
Loading…
Reference in a new issue