mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
fix links in card layout screen
This commit is contained in:
parent
69a684f059
commit
df2f09c253
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ class CardLayout(QDialog):
|
|||
self.saveCard)
|
||||
self.connect(self.form.flipButton, SIGNAL("clicked()"),
|
||||
self.onFlip)
|
||||
def linkClicked(self, url):
|
||||
def linkClicked(url):
|
||||
QDesktopServices.openUrl(QUrl(url))
|
||||
self.form.preview.page().setLinkDelegationPolicy(
|
||||
QWebPage.DelegateExternalLinks)
|
||||
|
|
Loading…
Reference in a new issue