only open web browser for links on deck description

otherwise clicking on 'more...' will open the web browser
This commit is contained in:
Damien Elmes 2013-01-15 07:42:38 +09:00
parent d97b199abe
commit ca1c461348

View file

@ -54,7 +54,7 @@ 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 == "studymore": elif url == "studymore":
self.onStudyMore() self.onStudyMore()
else: elif url.lower().startswith("http"):
openLink(url) openLink(url)
def _keyHandler(self, evt): def _keyHandler(self, evt):