open links in deck overview

This commit is contained in:
Damien Elmes 2012-08-24 15:26:10 +09:00
parent f2ea637520
commit 89ffc81cf7
2 changed files with 2 additions and 1 deletions

View file

@ -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/")

View file

@ -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']