mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04: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
@ -141,6 +141,9 @@ class EditorWidget(QWebView): # {{{
|
||||
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…
x
Reference in New Issue
Block a user