mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-29 10:43:08 +02:00
Fix new comments editor not being in editable mode when no initial text is set
This commit is contained in:
parent
05cc3e65cb
commit
c7bc6bc980
1 changed files with 3 additions and 0 deletions
|
|
@ -141,6 +141,9 @@ def __init__(self, parent=None):
|
|||
self.page().setLinkDelegationPolicy(QWebPage.DelegateAllLinks)
|
||||
self.page().linkClicked.connect(self.link_clicked)
|
||||
|
||||
self.setHtml('')
|
||||
self.page().setContentEditable(True)
|
||||
|
||||
def link_clicked(self, url):
|
||||
open_url(url)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue