mirror of
https://github.com/ankitects/anki.git
synced 2025-11-13 08:07:11 -05: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.saveCard)
|
||||||
self.connect(self.form.flipButton, SIGNAL("clicked()"),
|
self.connect(self.form.flipButton, SIGNAL("clicked()"),
|
||||||
self.onFlip)
|
self.onFlip)
|
||||||
def linkClicked(self, url):
|
def linkClicked(url):
|
||||||
QDesktopServices.openUrl(QUrl(url))
|
QDesktopServices.openUrl(QUrl(url))
|
||||||
self.form.preview.page().setLinkDelegationPolicy(
|
self.form.preview.page().setLinkDelegationPolicy(
|
||||||
QWebPage.DelegateExternalLinks)
|
QWebPage.DelegateExternalLinks)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue