Enter normal mode when clicking non-editable elem
This commit is contained in:
parent
b4b9b6c69d
commit
f3db29c010
@ -271,6 +271,8 @@ class BrowserTab(QWebView):
|
|||||||
if hitresult.isContentEditable():
|
if hitresult.isContentEditable():
|
||||||
logging.debug("Clicked editable element!")
|
logging.debug("Clicked editable element!")
|
||||||
modemanager.enter("insert")
|
modemanager.enter("insert")
|
||||||
|
else:
|
||||||
|
modemanager.enter("normal")
|
||||||
|
|
||||||
if self._force_open_target is not None:
|
if self._force_open_target is not None:
|
||||||
self._open_target = self._force_open_target
|
self._open_target = self._force_open_target
|
||||||
|
Loading…
Reference in New Issue
Block a user