mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
add rebuild button
This commit is contained in:
parent
a4e6db9498
commit
896ecfa0f5
1 changed files with 4 additions and 0 deletions
|
@ -41,6 +41,9 @@ class Overview(object):
|
|||
print "anki menu"
|
||||
elif url == "opts":
|
||||
self.mw.onDeckConf()
|
||||
elif url == "refresh":
|
||||
self.mw.col.sched.rebuildDyn()
|
||||
self.mw.reset()
|
||||
elif url == "decks":
|
||||
self.mw.moveToState("deckBrowser")
|
||||
elif url == "review":
|
||||
|
@ -140,6 +143,7 @@ text-align: left;
|
|||
def _renderBottom(self):
|
||||
links = [
|
||||
["opts", _("Options")],
|
||||
["refresh", _("Rebuild")],
|
||||
]
|
||||
buf = ""
|
||||
for b in links:
|
||||
|
|
Loading…
Reference in a new issue