mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
display deck opt message in kb
This commit is contained in:
parent
6c975bbdd5
commit
0224f07794
1 changed files with 1 additions and 1 deletions
|
@ -2005,7 +2005,7 @@ Proceed?""")):
|
|||
|
||||
def onOptimizeDB(self):
|
||||
size = self.deck.optimize()
|
||||
ui.utils.showInfo("Database optimized.\nShrunk by %d bytes" % size)
|
||||
ui.utils.showInfo("Database optimized.\nShrunk by %dKB" % (size/1024.0))
|
||||
|
||||
def onCheckMediaDB(self):
|
||||
mb = QMessageBox(self)
|
||||
|
|
Loading…
Reference in a new issue