mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
noteimp logs total itself; set import button to default
This commit is contained in:
parent
9fc3647842
commit
f0b6a22f03
2 changed files with 4 additions and 3 deletions
|
@ -157,9 +157,7 @@ you can enter it here. Use \\t to represent tab."""),
|
|||
return
|
||||
finally:
|
||||
self.mw.progress.finish()
|
||||
txt = (
|
||||
_("Importing complete. %(num)d notes imported or updated.\n") %
|
||||
{"num": self.importer.total})
|
||||
txt = _("Importing complete.") + "\n"
|
||||
if self.importer.log:
|
||||
txt += "\n".join(self.importer.log)
|
||||
self.close()
|
||||
|
|
|
@ -72,6 +72,9 @@
|
|||
<property name="text">
|
||||
<string>&Import</string>
|
||||
</property>
|
||||
<property name="default">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
|
|
Loading…
Reference in a new issue