Fix spelling.
This commit is contained in:
parent
dd0e230a32
commit
ce1b82616d
@ -461,7 +461,7 @@ class WebView(QWebView):
|
||||
settings = self.settings()
|
||||
if settings.testAttribute(QWebSettings.CaretBrowsingEnabled):
|
||||
if self.selection_enabled and self.hasSelection():
|
||||
# Remove selection if exist
|
||||
# Remove selection if it exists
|
||||
self.triggerPageAction(QWebPage.MoveToNextChar)
|
||||
settings.setAttribute(QWebSettings.CaretBrowsingEnabled, False)
|
||||
self.selection_enabled = False
|
||||
|
Loading…
Reference in New Issue
Block a user