mirror of
https://github.com/ankitects/anki.git
synced 2025-11-08 21:57:12 -05:00
open links in deck overview
This commit is contained in:
parent
f2ea637520
commit
89ffc81cf7
2 changed files with 2 additions and 1 deletions
|
|
@ -288,5 +288,4 @@ where id > ?""", (self.mw.col.sched.dayCutoff-86400)*1000)
|
||||||
self.bottom.web.setLinkHandler(self._linkHandler)
|
self.bottom.web.setLinkHandler(self._linkHandler)
|
||||||
|
|
||||||
def _onShared(self):
|
def _onShared(self):
|
||||||
print "fixme: check & warn if schema modified first"
|
|
||||||
openLink(aqt.appShared+"decks/")
|
openLink(aqt.appShared+"decks/")
|
||||||
|
|
|
||||||
|
|
@ -57,6 +57,8 @@ class Overview(object):
|
||||||
openLink(aqt.appShared+"info/%s?v=%s"%(self.sid, self.sidVer))
|
openLink(aqt.appShared+"info/%s?v=%s"%(self.sid, self.sidVer))
|
||||||
elif url == "limits":
|
elif url == "limits":
|
||||||
self.onLimits()
|
self.onLimits()
|
||||||
|
else:
|
||||||
|
openLink(url)
|
||||||
|
|
||||||
def _keyHandler(self, evt):
|
def _keyHandler(self, evt):
|
||||||
cram = self.mw.col.decks.current()['dyn']
|
cram = self.mw.col.decks.current()['dyn']
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue