Add comment about leaving insertmode
This commit is contained in:
parent
8a8ca0c34f
commit
5efc9de434
@ -259,6 +259,9 @@ class WebView(QWebView):
|
|||||||
log.mouse.debug("Clicked editable element!")
|
log.mouse.debug("Clicked editable element!")
|
||||||
modeman.enter('insert', 'click')
|
modeman.enter('insert', 'click')
|
||||||
else:
|
else:
|
||||||
|
# We don't leave the insert mode here as _is_editable is just an
|
||||||
|
# approximation, and the user will get annoyed if insertmode is
|
||||||
|
# left with every click.
|
||||||
log.mouse.debug("Clicked non-editable element!")
|
log.mouse.debug("Clicked non-editable element!")
|
||||||
|
|
||||||
def _mousepress_opentarget(self, e):
|
def _mousepress_opentarget(self, e):
|
||||||
|
Loading…
Reference in New Issue
Block a user