mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
bump version; disable context for windows for now
This commit is contained in:
parent
7bb31ee4c2
commit
a15b2fc557
2 changed files with 4 additions and 1 deletions
|
@ -6,7 +6,7 @@ from aqt.qt import *
|
||||||
import locale, gettext
|
import locale, gettext
|
||||||
import anki.lang
|
import anki.lang
|
||||||
|
|
||||||
appVersion="2.0-beta5"
|
appVersion="2.0-beta6"
|
||||||
appWebsite="http://ankisrs.net/"
|
appWebsite="http://ankisrs.net/"
|
||||||
appHelpSite="http://ankisrs.net/docs/dev/manual.html"
|
appHelpSite="http://ankisrs.net/docs/dev/manual.html"
|
||||||
appChanges="http://ankisrs.net/docs/dev/changes.html"
|
appChanges="http://ankisrs.net/docs/dev/changes.html"
|
||||||
|
|
|
@ -69,6 +69,9 @@ class AnkiWebView(QWebView):
|
||||||
return
|
return
|
||||||
QWebView.keyPressEvent(self, evt)
|
QWebView.keyPressEvent(self, evt)
|
||||||
def contextMenuEvent(self, evt):
|
def contextMenuEvent(self, evt):
|
||||||
|
if isWin:
|
||||||
|
# broken on windows for now; events are being fired at the popup
|
||||||
|
return
|
||||||
m = QMenu(self)
|
m = QMenu(self)
|
||||||
m.addAction(self.pageAction(QWebPage.Cut))
|
m.addAction(self.pageAction(QWebPage.Cut))
|
||||||
m.addAction(self.pageAction(QWebPage.Copy))
|
m.addAction(self.pageAction(QWebPage.Copy))
|
||||||
|
|
Loading…
Reference in a new issue