fix copy not appearing when reviewing

This commit is contained in:
Damien Elmes 2014-04-14 15:32:30 +09:00
parent 468c4f0c4b
commit b99e349695

View File

@ -512,7 +512,7 @@ title="%s">%s</button>''' % (
self.toolbar = aqt.toolbar.Toolbar(self, tweb)
self.toolbar.draw()
# main area
self.web = aqt.webview.AnkiWebView()
self.web = aqt.webview.AnkiWebView(canCopy=True)
self.web.setObjectName("mainText")
self.web.setFocusPolicy(Qt.WheelFocus)
self.web.setMinimumWidth(400)