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
|
return
|
||||||
finally:
|
finally:
|
||||||
self.mw.progress.finish()
|
self.mw.progress.finish()
|
||||||
txt = (
|
txt = _("Importing complete.") + "\n"
|
||||||
_("Importing complete. %(num)d notes imported or updated.\n") %
|
|
||||||
{"num": self.importer.total})
|
|
||||||
if self.importer.log:
|
if self.importer.log:
|
||||||
txt += "\n".join(self.importer.log)
|
txt += "\n".join(self.importer.log)
|
||||||
self.close()
|
self.close()
|
||||||
|
|
|
@ -72,6 +72,9 @@
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>&Import</string>
|
<string>&Import</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="default">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
|
|
Loading…
Reference in a new issue