mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 22:42:25 -04:00
Merge pull request #182 from ankitest/patch-9
2make top webview accessable
This commit is contained in:
commit
e7a00592c5
1 changed files with 1 additions and 1 deletions
|
@ -509,7 +509,7 @@ title="%s" %s>%s</button>''' % (
|
|||
self.form = aqt.forms.main.Ui_MainWindow()
|
||||
self.form.setupUi(self)
|
||||
# toolbar
|
||||
tweb = aqt.webview.AnkiWebView()
|
||||
tweb = self.toolbarWeb = aqt.webview.AnkiWebView()
|
||||
tweb.title = "top toolbar"
|
||||
tweb.setFocusPolicy(Qt.WheelFocus)
|
||||
self.toolbar = aqt.toolbar.Toolbar(self, tweb)
|
||||
|
|
Loading…
Reference in a new issue